
Subclassing a window in another application?
Quote:
> Is it possible to subclass a window in another application.
Yes, but you will need to write a hook dll, or use some other method) to
ineject a dll containing your subclass code into that process.
Quote:
>I want to know the string in a edit box in another application.
How about sending it a WM_GETTEXT message? The system automatically marshals
the standard window messages accross process boundries, so you can send a
WM_GETTEXT to any window in the system sure in the knowledge that it will
work.
Quote:
>What is the best method to do this.
WM_GETTEXT over subclassing any day. :)
Chris
--
Please keep newsgroup correspondence within the newsgroups.
<http://www.mvps.org/vcfaq> Visual C & Win32 FAQ
<http://users.lia.net/chris/win32> My Win32 Development Page