Tooltip for button?

BlitzMax Forums/MaxGUI Module/Tooltip for button?

Grisu(Posted 2007) [#1]
Hello!

Did someone manage to code a tooltip info for a normal button?

Means when you hover over a certain button with the mouse a tooltip will be displayed. Same as in Listboxes e.g..

Grisu


WendellM(Posted 2007) [#2]
These may(?) be of help to anyone trying to add tips:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/tooltip.asp
http://techsupt.winbatch.com/TS/T000001062001F14.html
(hopefully I'm overlooking a much simpler solution)

I gave up after struggling with it for a bit. If restaurants operated like this, then asking for a napkin would result in the waitress telling you to go out back to plant a tree, to build a blacksmith shop to make the axe to cut it down with, and to construct a paper mill to process it. ;)


grable(Posted 2007) [#3]
I looked over the link you supplied WendellM, and i figured it out. (wasnt that hard ;)

EDIT: Moved to Code Archives as suggested, Gadget Tooltips (Win32)


Grisu(Posted 2007) [#4]
Wow... this is awesome. Thanks a LOT.

Should be placed into the code archives too.


Grisu(Posted 2007) [#5]
Additional question:
Which modules do the functions need?

I'm using a framework and get the error:
"Identifier Tgadget not found"?


grable(Posted 2007) [#6]
Sorry about that, forgot to add those ;)
Ive updated it now.

btw, these are the modules required:
Import BRL.MaxGUI
Import BRL.Win32MaxGUI 
Import PUB.Win32



Grisu(Posted 2007) [#7]
Thanks again.