Display All Tooltips?
Posted: Tue May 10, 2016 1:33 pm
Win 7, 8, 10
I would like to offer my Users a button to display all ToolTips at once (and un-display all tooltips!).
With the code below, it's possible to apply Win API to PB's GadgetToolTips:
Setting the max tip display time is something I often do any way and the above code always works, but how about having a button that displays all tips at once?
Also (only of minor interest), the BackColor/FrontColor messages don't want to work (they did before didn't they?). I want to avoid the Balloon style tips because the rounded edges of the tips have no antialias.
I would like to offer my Users a button to display all ToolTips at once (and un-display all tooltips!).
With the code below, it's possible to apply Win API to PB's GadgetToolTips:
Code: Select all
Procedure ShowAllTips()
;#-----------------------
Protected iTtip.i = FindWindow_("tooltips_class32", 0)
If iTtip
SendMessage_(iTtip, #TTM_SETDELAYTIME, #TTDT_INITIAL, 0)
SendMessage_(iTtip, #TTM_SETDELAYTIME, #TTDT_AUTOPOP, 30000) ;30000 max
SendMessage_(iTtip, #TTM_SETTIPBKCOLOR, $D1FFFF, 0) ;BackColor
SendMessage_(iTtip, #TTM_SETTIPTEXTCOLOR, $0002FF, 0) ;TextColor
EndIf
EndProcedureAlso (only of minor interest), the BackColor/FrontColor messages don't want to work (they did before didn't they?). I want to avoid the Balloon style tips because the rounded edges of the tips have no antialias.