I need your help please...with pocketPC and key event

  • Thread starter Thread starter amiga500
  • Start date Start date
A

amiga500

Hello,

I want to make a key event for my PocketPC that if I press the
"Enter" key for my pocketPC I want it to prompt a message, I am
developing it using VB.NET Compactframework, can you help me please?
 
Hi,

You can override the WndProc method to monitor messages and catch the
key "Enter" message and display your message.

Hello,

I don't understand what you mean? OK how about this? Is there an ASCII
code for the pocketPC? I want to in the keyboard event when a certain
key is hit it triggers an event. Can someone help me in that please?
 
He's given you the pointer for catching Enter when your application is in
front. This has nothing to do with ASCII. You'd get a WM_KEYDOWN and,
depending on the key, a WM_CHAR, message to the main window procedure of
your form. You might catch the key there. If what you want is to catch the
key no matter what application is in front, then you'll need to use hot
keys. I'm sure that, if you search the archives for WM_HOTKEY, you'll find
the necessary code, or enough to get you started, anyway.

http://groups.google.com/group/micr...ork/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Paul T.
 
Back
Top