comctl32: statusbar: Create tooltip window with WS_POPUP and TTS_ALWAYSTIP style.
This commit is contained in:
parent
9329efa88e
commit
bea5b4b9f7
|
@ -992,7 +992,7 @@ STATUSBAR_WMCreate (HWND hwnd, LPCREATESTRUCTA lpCreate)
|
||||||
|
|
||||||
if (dwStyle & SBT_TOOLTIPS) {
|
if (dwStyle & SBT_TOOLTIPS) {
|
||||||
infoPtr->hwndToolTip =
|
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, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||||
CW_USEDEFAULT, hwnd, 0,
|
CW_USEDEFAULT, hwnd, 0,
|
||||||
(HINSTANCE)GetWindowLongPtrW(hwnd, GWLP_HINSTANCE), NULL);
|
(HINSTANCE)GetWindowLongPtrW(hwnd, GWLP_HINSTANCE), NULL);
|
||||||
|
|
Loading…
Reference in New Issue