[python-win32] windows text rendering question
Mark Mc Mahon
mark.m.mcmahon at gmail.com
Tue Jan 23 20:18:35 CET 2007
Hi,
On 1/23/07, Tim Roberts <timr at probo.com> wrote:
>
> I'm surprised you can't get at the window contents. Have you used the
> spyxx.exe utility to poke through the window structure?
>
Unfortunately there are quite a few controls in software that are
either owner drawn or are custom and do not respond to WM_GETTTEXT or
other similar messages.
One (extreme?) way is to hook the DrawText/TextOut? functions and
force a refresh of your window - then if there is text it should go
through those methods (I am simplifying because I don't have all the
details on this method - if anybody has working code (ctypes even?) I
would be interested to see it.
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
Mark Mc Mahon
More information about the Python-win32
mailing list