Sign in to follow this  
Followers 0
AKB

Controlsend & HWND

2 posts in this topic

Is it possible to use HWND of a control with controlsend to send the message accurately to a control? I am having problems with this function sending a message to a chat room window of a messenger. It works fine and sends the message to the textbox of chat room window if there is no private IM window open and active. But if I am in a conversation with someone in a private chat window, it starts sending the message to that active window may be because the class is same. This happens even though the titles of both the windows are different.

Share this post


Link to post
Share on other sites



Is it possible to use HWND of a control with controlsend to send the message accurately to a control? I am having problems with this function sending a message to a chat room window of a messenger. It works fine and sends the message to the textbox of chat room window if there is no private IM window open and active. But if I am in a conversation with someone in a private chat window, it starts sending the message to that active window may be because the class is same. This happens even though the titles of both the windows are different.

CODE!!!!!!!!!!!!!!!!!

but never the less, how did you get the handler? show us a screen cap of the windows info tool on both windows please so we can help you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0