PDA

Click to See Complete Forum and Search --> : want to send the key F7 to an app


ceticah
Jan 8th, 2000, 07:54 AM
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 :o)

Phobic
Jan 8th, 2000, 01:14 PM
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?