views:

81

answers:

1

Is there a way to disable the standard built-in function of the Windows-Key (open the start-menu) and activate instead of that function for instance a delegate or an event in C#? I want to use this as an additional key in a full-screen app.

+5  A: 

Hooks.

http://www.codeproject.com/KB/cs/globalhook.aspx

Rushyo
Is it possible that by using this method, you don't surpress the standard function of the Windows-Button, so that both functions (opening the startmenu, and the programmer-defined function) will be called.
CommuSoft
A global hook (like the one specified) will suppress standard system functionality. An application level hook will not.
Rushyo