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

    Ctrl in a Dialog Box


    Hi all:

    I need to know whether the control key is pressed when the user pressed OK button of the dialog. Is there any easy way to do this?

    Thanks in advance...



  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Ctrl in a Dialog Box

    GetAsyncKeyState() or GetKeyState() should work. They serve different purposes, but I believe one or the other should work.

    Regards,

    Paul McKenzie


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