Results 1 to 2 of 2

Thread: want to send the key F7 to an app

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    france
    Posts
    1

    Post

    Hi ! i want to send the key F7 to an app with the Sendmessage function.

    i've the hwnd of the app but i don't now how to do this :

    Sendmessage(hwnd,wm_char, ...

    But i don't now the other param

    Ceticah
    Ceticah@wanadoo.fr


    ------------------
    Ceticah )

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Post

    Well, I haven't really gotten into key events, you could always use good old visual basic SendKeys calls, but if you want to do it through API, check out MSDN for the proper syntax on the whole SendMessage bit, but are you sure you're not supposed to use the.. I think it's called keyboardevent or something API to do what you want?

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