|
-
April 4th, 2001, 01:30 PM
#1
Detecting the Alt state
In my application, I would like to change the icon when the user presses Alt (Alt only, no other character, so i cannot use the KeyDown Event). How do I do it?
I plan to use a global boolean variable AltPressed and a timer that ticks every 100 ms, and use GetKeyState in each timer tick to detect the Alt State.
Is there a neater solution?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|