Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.1
-
None
-
Windows
-
Ibaf18f9ef5165166bf0b88e2f4952faba96d5eef
Description
The code below in qeventdispatcher_win.cpp should pass in HWND_MESSAGE as the parent instead of 0, since the window never will be visible, but is there to handle the messages.
static HWND qt_create_internal_window(const QEventDispatcherWin32 *eventDispatcher) ... HWND wnd = CreateWindow(wc.lpszClassName, // classname wc.lpszClassName, // window name 0, // style 0, 0, 0, 0, // geometry 0, // parent //HWND_MESSAGE should be used instead here 0, // menu handle qWinAppInst(), // application 0); // windows creation data.