How can I access specific help for modal dialogs by pressing F1
So far I have loaded a helpset, created a helpbroker and I'm able to view context sensitive help for menu items and components in the main frame of my application.
I can also view help by adding the following line to my modal dialog:
mainFrame.helpBroker.enableHelpOnButton( helpbutton, "ID_String", null );
Using a key listener with my modal dialog I can also jump to the context specific help page.
But isn't there an elegant way to associate a help ID with the modal dialog and pressing F1 gives the specific page without the keylistener stuff?
I'd be a very happy camper if anyone could give me a hint.
Holger

