Alexandre Julliard : ole32: Use a HWND_MESSAGE window for the clipboard.

Alexandre Julliard julliard at winehq.org
Thu Feb 2 15:49:27 CST 2017


Module: wine
Branch: master
Commit: e31dd0f384c108e9e07cbcbe043a285c32efe855
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e31dd0f384c108e9e07cbcbe043a285c32efe855

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Feb  2 18:52:43 2017 +0100

ole32: Use a HWND_MESSAGE window for the clipboard.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/clipboard.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c
index b42544a..6e4dd44 100644
--- a/dlls/ole32/clipboard.c
+++ b/dlls/ole32/clipboard.c
@@ -2098,8 +2098,7 @@ static HWND create_clipbrd_window(void)
     RegisterClassExW(&class);
 
     return CreateWindowW(clipbrd_wndclass, title, WS_POPUP | WS_CLIPSIBLINGS | WS_OVERLAPPED,
-                         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
-                         NULL, NULL, hinst, 0);
+                         0, 0, 0, 0, HWND_MESSAGE, NULL, hinst, 0);
 }
 
 /*********************************************************************




More information about the wine-cvs mailing list