Re: the Window menu
Re: the Window menu
- Subject: Re: the Window menu
- From: Sherm Pendley <email@hidden>
- Date: Sun, 13 Apr 2003 16:11:58 -0400
On Sunday, April 13, 2003, at 03:46 PM, David Newberry wrote:
Just a small question (I hope :). I am trying to find out how to
discover if the user has selected an item in the Window menu. I looked
around a bit but didn't find much on the docs beyond the obvious, "It
is a menu of open windows managed for you." I also looked in
NSApplication for a notification or something, but nothing was
forthcoming. Hopefully I've just missed something simple...
You might want to have a look at NSWindow's
NSWindowDidBecomeMainNotification notification, or its
windowDidBecomeMain: delegate method.
Those aren't specific to the Window menu, though - they're sent
regardless of how the window became main.
sherm--
Welcome to Rivendell, Mr. Anderson.
_______________________________________________
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.