"Did" vs. "Will" delegates
"Did" vs. "Will" delegates
- Subject: "Did" vs. "Will" delegates
- From: dp <email@hidden>
- Date: Sun, 30 Nov 2003 18:53:01 -0500
Can someone explain the difference between implementing
windowDidMiniaturize and windowWillMiniaturize in my delegate class? It
seems that the later is called, but not the former?
thanks
dp
On Nov 26, 2003, at 1:59 PM, Jonathan E. Jackel wrote:
Have a look at the delegate methods for NSWindow. Implement
windowDidMiniaturize: or windowWillMiniaturize: in the delegate.
Jonathan
-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Chad Harrison
Sent: Wednesday, November 26, 2003 12:59 PM
To: Cocoa List
Subject: subclass NSWindow
How do I detect when my app's main window gets miniaturized? I want to
update some menu items as soon as the window is miniaturized - do I
need to subclass NSWindow and make that the first responder for my
window or something?
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.