Determine app's frontmost window when app is not in front?
Determine app's frontmost window when app is not in front?
- Subject: Determine app's frontmost window when app is not in front?
- From: Kirk Kerekes <email@hidden>
- Date: Wed, 4 Sep 2002 13:31:19 -0500
I have a need to determine which of my apps visible windows is
frontmost when the app is not "active". (in other words, the window
that would become the mainWindow if the user clicked the app icon in
the Dock). isMainWindow and isKeyWindow are globally referenced, so
they really are no help.
I realize that the X paradigm of layerless applications normally makes
such considerations meaningless, but this is the second time I have run
into a similar need -- the first was when I needed to determine the
frontmost document window so that it could be used as the target of a
System Service.
This time, however, I am looking for the frontmost visible window,
document or not.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.