Community
Participate
Working Groups
Build 20021105 F1 help should work for tool items. Currently, there is no API to add a help listener for a ToolItem. There is API for adding a help listener to a MenuItem.
From SN: It used to be (before accessibility) that a tool item could not get focus so how would I know which tool item to give help on? Now, they will take focus but only through the keyboard. So, how do I know which item to give help on? Is it the one that the mouse is over? YES, I think F1 should be activated for whatever tool item is "hot" (i.e., puffed out image displayed). Currently this can happen when the mouse is over a tool item or when you tab to a tool item.
Not sure if this matters or not, but the capability needs to work for ToolItems within a CoolItem.
Ok, but this is low priority.
any chance to see this in 3.1?
Ok, I hacked in something but failed again in the area of focus. When another widget in the shell has focus but the tool item is hot, where does the F1 go? The user probably expects it to go to the hot item but that isn't the way that help callbacks work in the operating system. So, every time F1 was pressed, we would need to scan the widget hierarchy for a tool item that was hot and deliver the help callback to that widget rather than the focus control (which is where the operating system is delivering the callback).
We won't do this. ToolItems don't get focus and no native platform does this.