win32gui.FindWindow problems

Alex Martelli aleaxit at yahoo.com
Sat Nov 11 08:24:04 EST 2000


"Dale Strickland-Clark" <dale at out-think.NOSPAMco.uk> wrote in message
news:q05p0told569nfa8m1j0gougvau06a5h0u at 4ax.com...
    [snip]
> I can't make it work either. It's not clear from the docs how to specify a
NULL for the first arg -
> which is what I think you need. I tried 0 and None but both crash Python.

FindWindow is not documented in the Win32 API's to support NULL as
a first parameter.

EnumWindows is what I'd use to find windows of any class in C or C++,
but I don't know, offhand, if win32all exposes it...


Alex






More information about the Python-list mailing list