FindWindowById returns None..... ?

Tim Roberts timr at probo.com
Sat Jan 12 00:49:19 EST 2008


Soren <soren.skou.nielsen at gmail.com> wrote:
>
>I'm trying to split my GUI into several files since its beginning to
>become a bit large.. I've placed a panel  class inside gui2.py, but it
>needs some information from a panel in gui1.py... if I import gui1 in
>gui2 and try to find the panel by its ID, (using the Id generated in
>gui1) I get a None value returned?? using findwindowbyid in gui1 on
>the same ID works fine..
>
>I'm guessing i'm doing this the wrong way, can anyone comment on this?

Post enough code so we can see how you are doing it.  Your description
isn't specific enough; there are several ways to do it, some right, some
wrong...
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list