LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

USING ALT-F1, ALT-F10 to open panels:

We use LabWindows 6.0 and want to display 'sub'-panels by 'ALT-F1'(...)-key's. In the Moment we only can use CTRL/SHIFT+F1... How we can use the ALT-key for this task
0 Kudos
Message 1 of 3
(3,124 Views)
Hi,
I made a simple sample project that traps Alt+F1 hot key by means of RegisterHotKey Windows API and Toolbox function InstallWinMessageCallback.
You will need the Full version of CVI to use it.
The project is developed in CVI 5.5; I assume it will work in 6.0 too.

Hope this helps
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(3,124 Views)
Hi Roberto,
I know that this item is very old for you, but it is possible that you remember it.

I have used your code, and it was for me very and very useful, it is true.

When you are at "debug mode", Labwindows "register" its own "F12" hotkey in order to you can do a "break execution". But, at "release mode", it "aparently" occurs nothing when you press de F12 key. And, and this is the question, when I register de "F12" hotkey, the RegisterHotKey function gives to me the same error in debug or release mode: 1409 "the hot key already exists".

Then, can I use the "F12" hot key in my CVI applications? How can I avoid the 1409 error at release mode?
0 Kudos
Message 3 of 3
(3,124 Views)