comctl32: Create tooltip windows with WS_POPUP style.
This commit is contained in:
parent
bea5b4b9f7
commit
32caf30f9c
|
@ -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);
|
||||
|
|
|
@ -3038,7 +3038,7 @@ static LRESULT TAB_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||
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);
|
||||
|
|
|
@ -1950,7 +1950,7 @@ TOOLBAR_TooltipCreateControl(TOOLBAR_INFO *infoPtr)
|
|||
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);
|
||||
|
||||
|
|
|
@ -1415,7 +1415,7 @@ TRACKBAR_Create (HWND hwnd, LPCREATESTRUCTW lpcs)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue