Results 1 to 3 of 3

Thread: SendMessage - alt & L

  1. #1

    Thread Starter
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    You can use VB's SendKeys command for some things, but I don't think it works with Alt,Ctrl, or Shift.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  2. #2
    Member
    Join Date
    May 2001
    Location
    Malaysia
    Posts
    43
    My problem is not getting the keys send to the specific windows, but yes, I do use FindWindow.
    Now that I got it's handle, I want to send "alt + L" to the windows using SendMessage but I don't know how to send 'alt' key to the window.
    Any idea anyone???
    There must be a way to do this, I am sure but HOW????
    Ben Chin

  3. #3
    Member
    Join Date
    May 2001
    Location
    Malaysia
    Posts
    43
    Yes, I can use sendkeys as mlewis said but it doesn't guarantee that the windows will receive the keys. I've tried before and some times it works and sometimes doesn't works. So, I want to use SendMessage or PostMesage to send the keys to the window but I just don't know how to send "alt + L" or 'control' or keys like that...
    Somebody please... do tell me how to do that..
    Thanks a lot!!!!
    Ben Chin

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