Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Read text from AfxFrameOrView class

35 views
Skip to first unread message

spike

unread,
Mar 21, 2005, 1:51:17 PM3/21/05
to
Hi all,

I'm trying to capture text from another application that is using a
AfxFrameOrView. It seems like I've tried everything (sending a
WM_GETTEXT message, GetWindowText), but it appears the API functions
only work on windows with a class of 'Edit'. Is it possible to do?
Right now I'm thinking of using a hook to try and capture the text.

Thanks for any ideas...

--
Ryan

Sam Hobbs

unread,
Mar 24, 2005, 11:00:59 PM3/24/05
to
The WM_GETTEXT message works for windows that have text to be gotten. If
there is not text to be gotten then a hook won't help.


"spike" <spik...@neb.rr.com> wrote in message
news:nGE%d.11922$hu3....@twister.rdc-kc.rr.com...

0 new messages