How to handle special keyboard keys?

  • Thread starter Thread starter Sylwia
  • Start date Start date
S

Sylwia

Hi!

I'm writing an application that runs in a 'Full screen' mode. I do not
want any other windows (as well as the desktop) to be accessible while
my application is running.

My problem is that when I press for example a key 'Windows left logo'
(with keyboard scan code 91) my app looses focus and Windows menu
'Start' opens.

Is there any way to prevent such a behaviour so that as long as the
application is running pressing that key does not cause Windows menu
'Start' to appear?

Thank you for your help!
Sylvia, beginner.
 
It's possible to do that by writing a keyboard hook that captures that
keycode and swallows it. I don't know if there are any easier methods.

Regards
Senthil
 

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.

Ask a Question

Back
Top