Re: Changing Focus to App
Re: Changing Focus to App
- Subject: Re: Changing Focus to App
- From: Satoshi Matsumoto <email@hidden>
- Date: Thu, 11 Aug 2005 09:27:50 +0900
on 05.8.11 9:05 AM, Kodex at email@hidden wrote:
> I have a quick question im running into some
> problem with my carbon events because my app isnt
> focused on launch for some reason, is there a cocoa or
> a carbon function to make my app focused? Thanks!
Use following NSApplication method:
- (void)activateIgnoringOtherApps:(BOOL)flag
Makes the receiver the active application. If flag is NO, the application is
activated only if no other application is currently active. If flag is YES,
the application activates regardless.
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden