when you 'close' the window - by default the application is not being terminated - you can get your window back programmatically by calling [myWindow makeKeyAndOrderFront]. This is what some apps call, when you click their icon on dock to get the closed window back.
You can legally terminate application by closing its window as well if you return YES in the method "-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication" of your application's delegate. 2011/5/17 JAMES ROGERS <jimrogers_w4...@me.com>: > I am a cocoa developer, albeit a new one. So I have every right to post this > question on this site. Thank you very much, but clicking on the application > in the dock does not work in my case. That would be a rather obvious answer > and one of the many things I tried. Based on some of the web guru sites, I am > not the first to pose this question and a not willing to accept the answer I > see most, "that is the way Mac works". That is why I came to this site, as a > last resort. > > You have a nice day Joanna. > > Jim > > > On May 17, 2011, at 6:35 AM, Joanna Carter wrote: > >> Jim >> >> Do you realise that this is a mailing list for software developers? >> >> Nonetheless, assuming you don't mean programatically, simply click on the >> application in the Dock. >> >> Joanna >> >> -- >> Joanna Carter >> Carter Consulting >> > > JIM ROGERS > jimrogers_w4...@me.com > http://web.me.com/jimrogers_w4atk > > _______________________________________________ > > 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/eveningnick%40gmail.com > > This email sent to eveningn...@gmail.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