CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    12

    Detecting Left Shift and Right Shift in Window 95/98

    How do I detect the state of the Left Shift or Right Shift keys. GetKeyState will only give me both of them together.


  2. #2
    Join Date
    Apr 1999
    Posts
    2

    Re: Detecting Left Shift and Right Shift in Window 95/98

    Use GetKeyboardState() or GetAsyncKeyState() API's. Use VK_LSHIFT and VK_RSHIFT indices to get them seperately.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured