LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable context help

Hello,
 
I have written a stand alone application, and during testing, I found that Ctrl+h brings up the context help window.  I don't want this to occur.  Is there any easy way to remove this operation?  I have been using an event structure with the "Menu Selection? (App)" event and discarding it if the tag was "APP_SHOW_HELP", but I was just wondering if there was a better way.  Oh, I'm using LV 7.1 if it makes a difference.
 
Thanks for your help,
Jon
0 Kudos
Message 1 of 5
(3,193 Views)

Hi Jon,

I think discarding the menu event is the only way to do it.  If you want to disable the Ctrl-H key combination, just add an event for that, too.  Here's what I came up with:

-D

Message Edited by Darren on 06-15-2006 03:57 PM

0 Kudos
Message 2 of 5
(3,191 Views)
Thanks for the quick and thorough answer Darren,
 
I didn't see anything in the menus/vi properties about disabling the help window, so I wanted to make sure I wasn't missing something obvious.  After changing and rebuilding, it works as I had hoped.
 
Thanks again,
Jon
0 Kudos
Message 3 of 5
(3,183 Views)
Don't forget that you have to account for the capital H as well.

___________________
Try to take over the world!
0 Kudos
Message 4 of 5
(3,181 Views)

Good call...capital H is ASCII character 72...a perfectly valid character to check if the user has Caps Lock on.  Note that Ctrl-Shift-H does not launch the Help window, so you don't have to worry about that corner case.

-D

0 Kudos
Message 5 of 5
(3,174 Views)