comctl32: toolbar: Create tooltip on TB_GETTOOLTIPS message if not yet created.
This commit is contained in:
parent
8ecd34b971
commit
2d6b9cafc6
@ -3726,6 +3726,8 @@ TOOLBAR_GetToolTips (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||||||
{
|
{
|
||||||
TOOLBAR_INFO *infoPtr = TOOLBAR_GetInfoPtr (hwnd);
|
TOOLBAR_INFO *infoPtr = TOOLBAR_GetInfoPtr (hwnd);
|
||||||
|
|
||||||
|
if ((infoPtr->dwStyle & TBSTYLE_TOOLTIPS) && (infoPtr->hwndToolTip == NULL))
|
||||||
|
TOOLBAR_TooltipCreateControl(infoPtr);
|
||||||
return (LRESULT)infoPtr->hwndToolTip;
|
return (LRESULT)infoPtr->hwndToolTip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user