Re: Getting text in a window
From: Jonathan Wood (jwood_at_softcircuits.com)
Date: 01/18/05
- Next message: Karl E. Peterson: "Re: NetScheduleJobAdd"
- Previous message: Joseph Geretz: "COM Interface Security"
- In reply to: Jeremy Chapman: "Getting text in a window"
- Next in thread: Jeremy Chapman: "Re: Getting text in a window"
- Reply: Jeremy Chapman: "Re: Getting text in a window"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 13:09:57 -0700
If the window that contains the text is owner drawn, then there is no
definitive way to obtain the text. The program can store the text in any
format it likes, including making it up as it goes along. WM_GETTEXT works
through a well-defined interface to obtain the main text of a window. Text
that appears within the client area of a custom window have no obligation to
follow this or any other interface for obtaining this text.
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm "Jeremy Chapman" <NoSpam@Please.com> wrote in message news:OD$x4tY$EHA.1292@TK2MSFTNGP10.phx.gbl... > I'm experimenting getting text in a window using various methods. > > I was able to send a WM_GetText message to one of the child notepad windows > and successfully, but the text I'm really trying to read from is a terminal > emulation application, which contains no child windows. I can grab the > main window handle but a WM_GetText only returns the title bar text. Are > there any other ways? > >
- Next message: Karl E. Peterson: "Re: NetScheduleJobAdd"
- Previous message: Joseph Geretz: "COM Interface Security"
- In reply to: Jeremy Chapman: "Getting text in a window"
- Next in thread: Jeremy Chapman: "Re: Getting text in a window"
- Reply: Jeremy Chapman: "Re: Getting text in a window"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|