473,385 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to use the SendMessage API!!!

I wanna send a text to a MSN chat screen but i dont know how!!! i know how to get the form handle but not how to get the control handle. Pls help me.
Nov 10 '09 #1
1 1274
vb5prgrmr
305 Expert 100+
Once you have the window handle, you will then need to use the EnumChildWindow API to find the handle to the control you want to Send A Message to. Then with that handle I believe the parameter arguement will need the const of WM_SETTEXT (off the top of my head...).



Good Luck
Nov 11 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Daniel Kaffee | last post by:
Please, please, please can somebody post here how to use the Sendmessage API call to send the keystrokes Alt B, "Y", Tab (*7), "Danny" to an application that I have the windows handles and PID's...
2
by: Tim Mulholland | last post by:
I think the problem i'm having is a little bigger than this, but i hope the answer to this question will send me down the right path. I'm calling the SendMessage API function from C#. I've got it...
0
by: Tim Mulholland | last post by:
I asked this a few days ago and never got a response. Hopefully someone can help me now as i'm giving more information I have an MFC app that i'm trying to send messages to using the SendMessage...
3
by: Tim Mulholland | last post by:
I just realized i had been posting under a managed newsgroup account that had expired. hopefully this one works better and gets me a response from Microsoft.. I have an MFC app that i'm trying...
3
by: JSK | last post by:
Hi, As any one worked in VB.NET and made use of Sendmessage API? The Issue I am running into is how to pass pointers of Data Structures (UDT) to the SendMessage. I starting looking at "IntPrt"...
3
by: Lee Weiner | last post by:
I'm a VB6 guy playing around with VB.NET. Trying to convert one of my old VB6 projects, a plain old text editor. A problem I'm having is using the SendMessage API function to retrieve the line in...
3
by: Steve | last post by:
Hi all, Could someone provide a link to working code examples for implementing these Sendmessage API calls in VB.NET ?? EM_GETLINECOUNT EM_GETLINE EM_LINELENGTH EM_LINEINDEX
18
by: Lars Netzel | last post by:
Hello! Thanx to this newgroup I have finally, with the help of you guys, gotten this to work halfway.. but the final action is still not working, clicking the "Button2" thru SendMessage(). ...
2
by: Abubakar | last post by:
Hi, in my application, different threads send notifications to GUI thread through sendmessage api. They have special integer numbers inside the wParam arg of sendmessage which the gui thread uses...
4
by: Abubakar | last post by:
Hi, My application has a lot of threads which at some point call SendMessage api passing it the handle of the gui window. The calls r a lot. My question is that should I call the SendMessage api...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.