Hi, How to close/minimize the app programmatically. I tried the following way but no luck.
[[NSApp mainWindow] performMiniaturize:nil]; [OR] [NSApp miniaturizeAll:self]; And close should not terminate my app, it should place an icon in the Dock, I hope it would be the same. And I know to give Dock Menu items. >From that menuitem, if I click on Open, it shall be able to launch my app. Regards Symadept _______________________________________________ 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