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.

Willem Van Onsem
  • 443,496
  • 30
  • 428
  • 555

1 Answers1

5

Hooks.

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

Rushyo
  • 7,495
  • 4
  • 35
  • 42
  • 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. – Willem Van Onsem Aug 30 '09 at 14:58
  • 2
    A global hook (like the one specified) will suppress standard system functionality. An application level hook will not. – Rushyo Aug 30 '09 at 15:01