I love this tooltip style RASHAD gave in this post:
https://www.purebasic.fr/english/viewto ... 77#p342977
But Is there some way To get that tooltip to appear when the mouse enters any region of the window and not just on the Button?
[SOLVED] Tooltip for whole window?
-
Randy Walker
- Addict

- Posts: 1109
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
[SOLVED] Tooltip for whole window?
Last edited by Randy Walker on Mon Mar 10, 2025 9:25 am, edited 1 time in total.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: Tooltip for whole window?
Just put "AddTip(WindowID(0)" in addition to "AddTip(GadgetID(0)". Then both the gadget and window will show the tip. 
-
Randy Walker
- Addict

- Posts: 1109
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: Tooltip for whole window?
YES!!! That works perfectly. Thanks BarryG!!!!BarryG wrote: Mon Mar 10, 2025 9:02 am Just put "AddTip(WindowID(0)" in addition to "AddTip(GadgetID(0)". Then both the gadget and window will show the tip.![]()
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: [SOLVED] Tooltip for whole window?
In case you don't know: both GadgetID() and WindowID() are just the gadget and window handles (hWnd).
-
Randy Walker
- Addict

- Posts: 1109
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: [SOLVED] Tooltip for whole window?
Yes I understood that. Just didn't occur to me I could substitute.
Thanks for the clarification BarryG
Thanks for the clarification BarryG
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.