LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to intercept the special keyboard function(the one that has the windows logo on it) for avoid users to get in the Windows start menu and instead, call a user defined menu

Hi I made a program manager in Labwindows that launchs and manages some programs, both has full duplex comunication using windows messaging, but now ia want to avoid the users to acces the start menu from the special keyboard function, i want that when the user press this key mi program manager displays a popup menu instead of the windows Start menu.
Note: Im using windows NT 4.0
Can somebody help me PLEASE!!!!
Thanks!!!!
0 Kudos
Message 1 of 2
(2,802 Views)
Hello

I found an article about intercepting keyboard events on the MSDN, it uses the WIN32 API and is in VB, but you should be able to port that over to C easily.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q177992


However, this is sort of risky business becuase you need to make sure that once your program ends, it sets everything back the way it was, doing anything otherwise it might result in data loss, and other problems.And since this is Win32 programming, you might be able to find alot of references for these functions from the Microsoft Developers Network (MSDN). CVI does provide you with the Windows SDK's, so you should have all the libraries that you need

Here is the link to the MSDN:

http://msdn.microsoft.com

Best of Luck with
your application

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,802 Views)