HelpBuilderHelpProvider.AlternateHelpHotKeyPressed

Event that is fired when the Alternate Hotkey is pressed.

If implemented this event handler overrides the default action of showing HelpBuilder. A reference to the HelpProvider is passed the first event parameter and you can do the following to override:

hp.AlternateHelpHotKeyPressed += new EventHandler(this.MyKeyHandler);

...

protected void MyKeyHandler(object sender, EventArgs e) 
{
	HelpBuilderHelpProvider hp = sender as HelpBuilderHelpProvider;
	hp.ShowHelpBuilder();  // display HelpBuilder

	// do your custom stuff
	...
}
public System.EventHandler AlternateHelpHotKeyPressed

See also:

Class HelpBuilderHelpProvider

© West Wind Techologies, 1996-2023 • Updated: 08/13/15
Comment or report problem with topic