Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Win API: reading "text" from non-text control?

Status
Not open for further replies.

rocheey

Industrial
Jan 21, 2001
230
0
0
US
Not sure if this is even possible, but if text were 'printed' on a form, or image control, is it possible to retrieve what is printed? Or is the text 'drawn on' ?

No Problems here using messaging or subclassing, just dont want to have write some sort of OCR code ...

TIA
 
Replies continue below

Recommended for you

The text printed on a form is just that, text with attributes. But on an image control it will probably be contained in the image that is displayed.

I've seen code somewhere to enumerate through the applications that are running an pull the Form.Caption information for each one that has a form displayed, but I forget where it is.


--
pansophic
 
Status
Not open for further replies.
Back
Top