CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: shift

  1. #1
    Join Date
    Apr 1999
    Posts
    108

    shift

    how can i tell wether or not the shift key, or any other key is being held down. And thus, when it is let go, somethign will happen.

    thanx


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: shift

    the Shift argument of the keydown event tells you if Alt, Ctrl or Shift are also pressed.
    You can also call the GetkeyState API.


  3. #3
    Join Date
    Apr 1999
    Posts
    108

    Re: shift

    im usign the getkeystate to determine if the shift key was pressed.. now what code would i use to determine if the shift key was only pressed and let go, or is still beign held down?

    thanx


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