GetKeyState Method

  • Thread starter Thread starter lakshmi
  • Start date Start date
L

lakshmi

hi,
This is for an application in VB.Net on .Net Compact Framework (1.0).
(PocketPC)
I need to trap the Tab key as it is moved over the controls on the
panel.
There is a function GetKeyState in user32.dll.

But I get a "NotSupported" exception when I try to use this function.

Is there any substitute or alternative function that is compatible with
CF.

Thanks,
 
If you must post the same message to multiple groups, put all groups in the
'Newsgroup' field so it crossposts to all at once. I've answered this
elsewhere.

-Chris
 
I did not get your question but may this be helpful for trapping Tab
keys

Event KeyDown(object sender, KeyEventArgs e) of the Control

try checkingfor
if e.KeyCode = Keys.Tab then
endif

Thank & Regards
vikash
 
Back
Top