In a Cocoa app when I click Window -> Minimize -[NSWindow performMiniaturize:] is called, which then calls -[NSWindow miniaturize:]. When I click the yellow button of a window, -[NSWindow miniaturize:] is called directly.

Seen and checked in Debugger.

But what is called when I Option-click Window -> Minimize (the Menu Item changes to "Minimize All")?
I cannot find any information in Interface Builder.
And see no obvious methods in NSWindow.

I want to intercept this call, but to do this, I need to know what message gets sent (and to whom).

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to