View Single Post
Old 06-19-2011, 05:58 PM   #1
self2898
 
Posts: n/a
Default Capturing the windows key in c# (wpf). - Stack Ove

I have composed a modest plan exhibiting seems and pictures about the display when pushing any button. I often commence it when 1 of my little youngsters crawls onto my lap and begin hitting the keys,Win 7 Home Premium, needless to say,Win 7 Professional, randomly.

It operates fine besides for two keys, one of them being the ON/OFF swap,Buy Office Standard 2007, the other being the Windows-key. (the CTRL-ESC equivalent I think) I can intercept it as it is pressed,Windows Enterprise Key,Installing Windows 7 Ultimate on an ASUS Eee PC 1000HE Urban Semiotic, but only right after the startmenu is displaying.

The event I use will be the UIElement.KeyDown and all I could came up with thus far is : (the e becoming KeyEventArgs)

if (e.Important == Important.LWin) e.Dealt with = accurate;
but compared to start off window is currently exhibiting I'm frightened.

I have currently 1 solution but would quite a lot prefer to know if there's any wpf-support?

I suspect programming the primary on/off change may not be feasible? Or else,Microsoft Office Professional Plus 2010 Sale, any help there could be welcome as well..
  Reply With Quote

Sponsored Links