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

This commit is contained in:
Oleg Krylov 2006-10-25 13:29:19 +03:00 committed by Alexandre Julliard
parent 9329efa88e
commit bea5b4b9f7
1 changed files with 1 additions and 1 deletions

View File

@ -992,7 +992,7 @@ STATUSBAR_WMCreate (HWND hwnd, LPCREATESTRUCTA lpCreate)
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);