From the Autodocs description of WA_HELPGROUP, I was hoping that it would be usable with Reaction gadget help hints so that bubble help would appear over gadgets for a non-active window's gadgets in a Help group set of windows.
Unfortunately, it does not seem to work this way. I can't get hints displayed over gadgets unless the Reaction Window is active.
Is there something I'm doing wrong, or is it just not involved with Reaction help hints?
Thanks,
Tom
WA_HELPGROUP and Reaction HelpHints
Re: WA_HELPGROUP and Reaction HelpHints
AFAIK, helphints cannot work with inactive windows as the mousemove (an consequently the mouse position) events are not sent to the windows IDCMP port. If the autodocs suggest otherwise, please let us know so that they may be corrected.
Simon
Simon
Re: WA_HELPGROUP and Reaction HelpHints
Not exactly. I guess I was trying to read between the lines. "window_cl.doc" does say the you may use WA_HelpGroup on your not yet open window class.Rigo wrote:AFAIK, helphints cannot work with inactive windows as the mousemouse (an consequently the mouse position) events are not sent to the windows IDCMP port. If the autodocs suggest otherwise, please let us know so that they may be corrected.
I took this as possibly implying that the Intuition HelpGroup feature was integrated into the help hints implementation.
I wonder if I can GA_GadgetHelp on a Reaction gadget and the Intuition HelpControl() function to turn on Intuition IDCMP_GadgetHelp messages on a Reaction Window in a WA_HelpGroup, and use the IDCMPHook to see these?
The active problem here is that it is not possible to get help hints on the buttons in a standalone SpeedBar (ie, on sitting in its own WA_ToolBox window) because it never becomes active.
Thanks,
Tom
Re: WA_HELPGROUP and Reaction HelpHints
Ah, this is interesting, I was about to report a serious bug/inconsistency with window.class and IDCMP_GADGETHELP (and the other GadgetHelp stuff).tbreeden wrote:Not exactly. I guess I was trying to read between the lines. "window_cl.doc" does say the you may use WA_HelpGroup on your not yet open window class.
I took this as possibly implying that the Intuition HelpGroup feature was integrated into the help hints implementation.
I wonder if I can GA_GadgetHelp on a Reaction gadget and the Intuition HelpControl() function to turn on Intuition IDCMP_GadgetHelp messages on a Reaction Window in a WA_HelpGroup, and use the IDCMPHook to see these?
The way Commodore implemented GadgetHelp is that it is supposed to send IDCMP_GADGETHELP when the user presses the HELP key. The application can then open some help file (normally an AmigaGuide) relating to the exact gadget the pointer is over.
The way it works in window.class, is that if WINDOW_GadgetHelp is enabled, the application receives a barrage of WMHI_GADGETHELP messages whether HELP is pressed or not. It's a blatant misuse of GadgetHelp, and seems to go back to ClassAct days. Can we have a correct implementation of GadgetHelp in window.class please?
Anyway, WA_HelpGroup is related to this botched context-sensitive help system and the messages for inactive windows will go to your active window, if it is in the same group. As I say, it's completely broken, and although superficially this might look like what you need, I don't think you can get HelpHints on inactive windows, and even if you can I don't think you can track across individual buttons in a speedbar gadget using this feature.
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: WA_HELPGROUP and Reaction HelpHints
Ye gods, the last thing I want to see is those bloody "Help" hints appearing when I move the mouse over an inactive window.
cheers
tony
tony
- LyleHaze
- AmigaOS Core Developer
- Posts: 525
- Joined: Sat Jun 18, 2011 4:06 pm
- Location: North Florida, near the Big Bend
Re: WA_HELPGROUP and Reaction HelpHints
I can appreciate your sentiment, but the current setup does make help hints useless for a WA_ToolBox window, and that's one place where gadget help would be most useful.tonyw wrote:Ye gods, the last thing I want to see is those bloody "Help" hints appearing when I move the mouse over an inactive window.