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

    Detecting Ctrl / Shift / Alt pressions while clicking a button

    How can I test the pression of Ctrl Alt Shift while clicking on a button?

    Thx!


  2. #2
    Join Date
    Aug 1999
    Location
    M鸩co D.F.
    Posts
    9

    Re: Detecting Ctrl / Shift / Alt pressions while clicking a button

    in the boton's click event you shuold call the GetKeyState.

    This function tells you the state of an specific key.


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