|
-
March 15th, 2004, 10:48 AM
#1
Keyboard state on MouseDown?
I may just be missing a simple call; but how do I find out if the shift, ctrl, and or alt keys are pressed when the mouse is clicked? For example, I may want to click on several objects on the screen, if the shift key is down I want to add the clicked object to the selection, but if not, I want to replace the selection with the newly clicked item. I've got everything I need to do this, but I don't know how to find out if the shift key is down when the click happens (without resorting to win32 api calls).
bytz
--This signature left intentionally blank--
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
|