Archived

This topic is now archived and is closed to further replies.

GetKeyState (or GetAsyncKeyState)

This topic is 5375 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how can i use either of the above functions to tell whether or not a key is being pressed along with the shift, ctrl, or alt key? like say i need it so that F1 and shift+F1 do two different things, and i want them to be done in a function that uses GetKeyState (or even in the WinProc swithc thingy) to check which keys are being pressed (in a function that runs in an infinate loop)

Share this post


Link to post
Share on other sites