Re: getting the active window



>>>>> "Alan" == Dugas, Alan <alan dugas analog com> writes:

    Alan> I am currently trying to determine which of several windows
    Alan> is the active window in my application.  I haven't found
    Alan> anything in the documentation that looks like it performs
    Alan> this function.  Is there a convience function for getting
    Alan> the active window?  If not, does anyone have an idea as to
    Alan> how I might go about doing so?  Thanks in advance.

Hmm...

Attach to the focus_in_event for each window and keep track of the
focus manually?

You can probably query your widgets to see if they think they have the
focus too...

-- 
Bruce Ide                                            bruce ide echostar com
http://www.paratheoanametamystikhood.net





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]