• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing Focus to App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Changing Focus to App (From: Kodex <email@hidden>)

  • Prev by Date: Re: WebServices problem
  • Next by Date: Re: Core Data SQL store looses data that XML store does not
  • Previous by thread: Changing Focus to App
  • Next by thread: Option-click on my app hides the other app
  • Index(es):
    • Date
    • Thread