Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catching text of a message box

Status
Not open for further replies.

Stretchwickster

Programmer
Apr 30, 2001
1,746
GB
Hi,

I'm trying to get the text contained on a message-box.

I figured that I either need to:
a) catch a windows message that causes this message-box to be shown.

or

b) wait for the message-box to appear then grab its text.

How would I go about doing this?

Your help would be much appreciated!

Clive [infinity]
 
Find the window for the message box
Get the handle
get the handle for the Static on the message box
the get the window captoin from the Static.
Then you will have the text that is displayed on a msgbox or on that net send box.
When using the net send box findwindow "Messenger Service
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top