Detecting No Windows on the Screen
Detecting No Windows on the Screen
- Subject: Detecting No Windows on the Screen
- From: Chris Gehlker <email@hidden>
- Date: Wed, 05 Dec 2001 05:02:43 -0700
I'm working on an app where I need to know when there are no visible
windows. I can call NSCountWindows() and subtract a constant that seems to
relate to the number of menu items in my program but I keep thinking that
there is a more elegant way. What am I missing?
--
Cogito Ergo Spud. - I think therefore I yam.