QQuickView nativeEvent and Qml
I have a frameless QML window that inherited from QQuickView class something like the attached image, I've overridden the
nativeEventmethod to handle resize and some other native events on Windows platform.
I want to return HTCAPTION when the WM_NCHITTEST event comes and mouse is hovering over the caption rectangle(gray area) not the blue buttons.
nativeEventhandler of QQuickView calls before event handler of QtQuick items, I should somehow know that the mouse is over the caption rectangle before returning true in the
nativeEventmethod, because when I return true Qt will not handle that event.