Submitted by Anonymous on Thu, 06/12/2003 - 08:31. General Questions
Hi,
How do i find which Tab key ( widget) is active currently in my application.
I need to know this in runtime and based on this i need to invoke a
help page . Are there any API`s provided for the same ????
Thanks in advance,
Vara
Usually, it`s the other way around -- you associate an accelerator (e.g. F1, osfHelp), with the particular widgets that offer help, and when the user requests help, you get the callback with the widget ID, such that you can then get the context for the widget and offer the right help.
The ViewKit mechanism is somewhat more sophisticated, but in both cases, the user is helping to establish the information that you need to know in order to present the information.