How to use Windows Key in my Application

Like:

 Windows Key + E 
Opens a new Explorer Window

And:

 Windows Key + R 
Displays the Run command

How can I use the Windows Key in a KeyDown event of my Application?

Answers


If you want to process these keys in your event handlers, use Keys.LWin and Keys.RWin

Generally I would not recommend using these, because future versions of Windows can introduce new shortcuts that will interfere with your combinations.


Need Your Help

wdcalendar plugin run very slowly on IE8

jquery html internet-explorer jquery-ui

I am using wdcalendar (http://www.web-delicious.com/jquery-plugins/#calendar) with IE8.