Oleg Krylov : comctl32: statusbar: Create tooltip window with WS_POPUP and TTS_ALWAYSTIP style.

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


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

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

comctl32: statusbar: Create tooltip window with WS_POPUP and TTS_ALWAYSTIP style.

---

 dlls/comctl32/status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index cd6e98a..85f7c6e 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -992,7 +992,7 @@ STATUSBAR_WMCreate (HWND hwnd, LPCREATES
 
     if (dwStyle & SBT_TOOLTIPS) {
 	infoPtr->hwndToolTip =
-	    CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, 0,
+	    CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, WS_POPUP | TTS_ALWAYSTIP,
 			     CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
 			     CW_USEDEFAULT, hwnd, 0,
 			     (HINSTANCE)GetWindowLongPtrW(hwnd, GWLP_HINSTANCE), NULL);




More information about the wine-cvs mailing list