Keyboard Events

  • Thread starter Thread starter Pinkesh Jain
  • Start date Start date
P

Pinkesh Jain

Hi,

I want to trap some specific keys (TAB and Esc) in my
application. But using the KeyDown and KeyPress events
doesn't help. What could be a possible alternative way to
do it. (Maybe using WinCe API?)
Any pointers to a sample implementation would be really
appreciated.

Also I want to register a combination of keys as a Hotkey
for invoking some desired functionality. I know there is
some RegisterHotKey() API function, what I'm not able to
invoke it correctly. Could someone point me to a sample
code which does the same.

Thanks.
 
Back
Top