[Interest] Move window without borders on Win32
Philipp Kursawe
phil.kursawe at gmail.com
Sat Sep 7 21:30:05 CEST 2013
Hello,
the common trick to move a captionless window on Windows is to call
its DefWndProc like this:
if (msg->message == WM_LBUTTONDOWN) {
*result = DefWindowProc(msg->hwnd, WM_NCLBUTTONDOWN, HTCAPTION, msg->lParam);
return false;
}
I do that in my QMainWindow nativeEvent handler. However now no
control in the window gets mouseclicks anymore.How can I detect if a
click on that position would hit a vital control (that accepts mouse
activation/input)?
More information about the Interest
mailing list