in Windows mobile, how to identify key press
or screen press ?
in any screen of my program and in any time, even if i not in any textbox focus ?
thank's in advance
cwindows-mobile
in Windows mobile, how to identify key press
or screen press ?
in any screen of my program and in any time, even if i not in any textbox focus ?
thank's in advance
Best Answer
Implement an IMessageFilter, then do Application.AddMessageFilter(myFilter);
In the message filter, look for WM_MOUSEUP messages (you'll have to search for that and define a constant for it). Then you can use Cursor.CurrentPosition to work out where the mouse was.
For keys, handle: