Oleg Krylov : comctl32: Create tooltip windows with WS_POPUP style.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 25 13:29:27 CDT 2006


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

Author: Oleg Krylov <oleg.krylov at gmail.com>
Date:   Wed Oct 25 13:31:44 2006 +0300

comctl32: Create tooltip windows with WS_POPUP style.

---

 dlls/comctl32/commctrl.c |    2 +-
 dlls/comctl32/tab.c      |    2 +-
 dlls/comctl32/toolbar.c  |    2 +-
 dlls/comctl32/trackbar.c |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 2925cc2..2f08f75 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -1336,7 +1336,7 @@ COMCTL32_CreateToolTip(HWND hwndOwner)
 {
     HWND hwndToolTip;
 
-    hwndToolTip = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, 0,
+    hwndToolTip = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, WS_POPUP,
 				  CW_USEDEFAULT, CW_USEDEFAULT,
 				  CW_USEDEFAULT, CW_USEDEFAULT, hwndOwner,
 				  0, 0, 0);
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index fb39d59..5ccc059 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -3038,7 +3038,7 @@ static LRESULT TAB_Create (HWND hwnd, WP
   if (dwStyle & TCS_TOOLTIPS) {
     /* Create tooltip control */
     infoPtr->hwndToolTip =
-      CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, 0,
+      CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, WS_POPUP,
 		       CW_USEDEFAULT, CW_USEDEFAULT,
 		       CW_USEDEFAULT, CW_USEDEFAULT,
 		       hwnd, 0, 0, 0);
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 79efd7b..9b96f90 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -1950,7 +1950,7 @@ TOOLBAR_TooltipCreateControl(TOOLBAR_INF
     int i;
     NMTOOLTIPSCREATED nmttc;
 
-    infoPtr->hwndToolTip = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, 0,
+    infoPtr->hwndToolTip = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, WS_POPUP,
             CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
             infoPtr->hwndSelf, 0, 0, 0);
 
diff --git a/dlls/comctl32/trackbar.c b/dlls/comctl32/trackbar.c
index 765a9ff..b61e64d 100644
--- a/dlls/comctl32/trackbar.c
+++ b/dlls/comctl32/trackbar.c
@@ -1415,7 +1415,7 @@ TRACKBAR_Create (HWND hwnd, LPCREATESTRU
     if (dwStyle & TBS_TOOLTIPS) {
 
     	infoPtr->hwndToolTip =
-            CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, 0,
+            CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, WS_POPUP,
                              CW_USEDEFAULT, CW_USEDEFAULT,
                              CW_USEDEFAULT, CW_USEDEFAULT,
                              hwnd, 0, 0, 0);




More information about the wine-cvs mailing list