[AmigaOS 3.2] Display a tooltip

Online Status

Hello,

I'd like to know if it's possible to display a tooltip under AmigaOS 3.2 using ReAction?

With AmigaOS 4, I use GA_HintInfos :

mybutton = IIntuition->NewObject( NULL, "button.gadget",
GA_ID, OKBUTTON,
GA_RelVerify, TRUE,
GA_Text, GetCatalogString( MSG_MYBUTTON_TEXT ),
GA_HintInfo, GetCatalogString( MSG_HINTINFO_MYBUTTON ),
TAG_END );

But it doesn't seem to exist under 3.2 ?

Any help would be appreciated, thanks!

Online Status

On 3.x it's done at the window.class level with WINDOW_HintInfo.

Online Status

Thanks!

Online Status

you can do it a bit easier in 3.2. You still need a hintinfo on the window but it can be empty. Then on each gadget simply give GA__GadgetHelpText, "hello"

Online Status

Ah yes, it's better! Thanks.

Online Status

Thanks Camilla! It works well and saves me a lot of time, as I was able to keep the same approach as in my OS4 code