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
    Location
    Jerusalem, Israel
    Posts
    251

    How to send "right ctrl + right shift" combination to control?

    Hello!

    I need to send "right ctrl+right shift" combination to control. I've tried

    SendKeys "^+", true



    but this sends "left ctrl+left shift". How can I specify that I press right ctrl and shift? (perhaps, there is some other function)

    Jack.

  2. #2
    Join Date
    Dec 1999
    Location
    Israel
    Posts
    101

    Re: How to send "right ctrl + right shift" combination to control?

    Try API Function SendInput with
    VK_RCONTROL or &HA3
    and VK_RSHIFT or &HA1 values for key codes.


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