on 6/28/06 1:17 AM, Stephen Kay at email@hidden wrote:
- allocate a CFMutableArrayRef
- call GetWindowList
- iterate over the window list with GetNextWindow, picking out the
windows that you want to close
- add each window to the array
- when you're done, iterate over the array, and close each window
One question about this: I just implemented this, I haven't used
CFMutableArrays before, quite handy, but...
Do you need to free up anything when you're done with it? It seems
have a Free() type function, and the CF Array Reference doesn't
seem to say
anything about it.
I use C++ and I'd just use a vector. It's simpler than using a
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden