• Advertisement
Sign in to follow this  

Sending message to window +

This topic is 4591 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possible to get window list, chose one of em and send keycodes to selected one in XP? Do u have to get all HWNDs and use some sort of a sendmessage??? And, can selected program detect such attempt???

Share this post


Link to post
Share on other sites
Advertisement
Use EnumWindows to get a list of the windows, then SendMessage with the WM_KEYDOWN message to send the keycode

The program shouldn't be able to detect that the message was sent by another program, afaik, because the message doesn't carry such info

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement