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);
|
||||
|
||||
if ((infoPtr->dwStyle & TBSTYLE_TOOLTIPS) && (infoPtr->hwndToolTip == NULL))
|
||||
TOOLBAR_TooltipCreateControl(infoPtr);
|
||||
return (LRESULT)infoPtr->hwndToolTip;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue