Windows: Use a message-only window as clipboard viewer or for GL.

Change-Id: Ib8d287404b157aae2f4493ef8eba220afaba6c47
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
bb10
Friedemann Kleint 2012-01-13 10:02:24 +01:00 committed by Qt by Nokia
parent e50416066c
commit 7549dc9e54
1 changed files with 3 additions and 3 deletions

View File

@ -542,8 +542,8 @@ QWindowsMimeConverter &QWindowsContext::mimeConverter() const
}
/*!
\brief Convenience to create a non-visible dummy window
for example used as clipboard watcher or for GL.
\brief Convenience to create a non-visible, message-only dummy
window for example used as clipboard watcher or for GL.
*/
HWND QWindowsContext::createDummyWindow(const QString &classNameIn,
@ -557,7 +557,7 @@ HWND QWindowsContext::createDummyWindow(const QString &classNameIn,
windowName, style,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
0, NULL, (HINSTANCE)GetModuleHandle(0), NULL);
HWND_MESSAGE, NULL, (HINSTANCE)GetModuleHandle(0), NULL);
}
/*!