You can gain control of the hardware keys by using PInvoke and RegisterHotKey.
Then you can use the MessageWindow class to provide a Window handle that can be
notified of WM_HOTKEY messages and handle them (or ignore them) as you wish.
Here's a sample illustrating using MessageWindow in the QuickStart tutorials
here: http://samples.gotdotnet.com/quickstart/CompactFramework/
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.