Skip navigation.
 
mlWaling window list in visible window order
FROM : Mark Alldritt
DATE : Fri Nov 26 21:07:30 2004

Hi All,

I'm trying to walk the window list in the order windows are stacked on the
screen.  NSApplication's windows method appears to returns a list of
NSWindow*'s in creation-order.  NSDocumentController's documents method
returns its lost of documents in creation-order.  The data returned by
NSWindowList() does not appear to be usable.

How do I get windows in visible order?  I need this in order to save (and
later restore) open documents in my preferences.

Cheers
-Mark

---------------------------------------------------------------------
Mark Alldritt                        Late Night Software Ltd.
Phone: 250-380-1725                  333 Moss Street
FAX:  250-383-3204                  Victoria, B.C.
WEB:  http://www.latenightsw.com/    CANADA  V8V-4M9

Related mailsAuthorDate
mlWaling window list in visible window order Mark Alldritt Nov 26, 21:07
mlRe: Waling window list in visible window order Jim Correia Nov 26, 21:42