Thanks.
GadgetToolTip for TextGadget
GadgetToolTip for TextGadget
Thanks.
Re: GadgetToolTip for TextGadget
A big +1 for this request. It's just a simple matter of adding the #SS_NOTIFY style to the TextGadget's creation:
Code: Select all
OpenWindow(0,200,200,200,50,"test",#PB_Window_SystemMenu)
tg=TextGadget(0,10,10,180,20,"Hover over me for a surprise!")
SetWindowLongPtr_(tg,#GWL_STYLE,GetWindowLongPtr_(tg,#GWL_STYLE)|#SS_NOTIFY)
GadgetToolTip(0,"Why, hello there, Mr Fancy Pants!")
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: GadgetToolTip for TextGadget
Agreed, on Windows. But whether or not the team adds something often depends on what's involved in making it work on the other OS's, likely resulting in no feature if it can't be done on all 3 easily. I hope this one makes the cut as it would be a good thing.It's just a simple matter of adding the #SS_NOTIFY style
BERESHEIT
