Deactivate Current App
Deactivate Current App
- Subject: Deactivate Current App
- From: email@hidden
- Date: Wed, 6 Aug 2003 13:41:14 -0700
I'm developing a Cocoa app and would like to have the app deactivate
itself (ie: send itself to the background and the last active and
running app become active again).
I've tried
[[NSApplication sharedApplication] deactivate];
but all it does it deactivate my current window. The application
still stays active though.
Is there a way to send the current Cocoa app to the backgound without
hiding it. (I know hide will do this but it has the unwanted side
effect of hiding the app)? Or is there a way to tell the next app to
activate?
Thank you again.
SD.
_______________________________________________
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.