----- Original Message ---- From: Mahaboob <mahab...@newtok.com> Subject: Re: Saving the project To: Mike Abdullah <cocoa...@mikeabdullah.net> Cc: "cocoa-dev@lists.apple.com" <cocoa-dev@lists.apple.com> Message-ID: <c5768a25.1744%mahab...@newtok.com> Content-Type: text/plain; charset="US-ASCII" Thanks for the help, Now it is working well with the menu item's action. I also need to perform the same thing when I'm clicking the close button of the window. I gone through the NSWindow documentation but, I'm unable to figure it out to perform close event of the window. How can I fire close event? ---------------------------------------------------------------------------------------------------------------- " I'm unable to figure it out to perform close event of the window" -------------------- - (void)performClose:(id)sender It is in NSWindow class reference under "Closing Windows" Task group. __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. _______________________________________________ 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