• 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: makeKeyAndOrderFront not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeKeyAndOrderFront not working


  • Subject: Re: makeKeyAndOrderFront not working
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 9 Dec 2005 07:05:44 +0100


Am 09.12.2005 um 06:25 Uhr schrieb Daniel Child:

I am having trouble getting a window to become the frontmost window on startup.

In a message earlier in another thread you mentioned that you set the LSUIElement flag.

If you do this, your app will not become frontmost when it is started or when you order a window front.

(This is a menu-free app, by the way, but I don't think that should matter.)

Well, it does.

You will have to activate your app 'manually':

[NSApp activateIgnoringOtherApp:YES];


Andreas
_______________________________________________
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: 
 >makeKeyAndOrderFront not working (From: Daniel Child <email@hidden>)

  • Prev by Date: Re: makeKeyAndOrderFront not working
  • Next by Date: Using instance variable from NSArray of objects
  • Previous by thread: Re: makeKeyAndOrderFront not working
  • Next by thread: Using instance variable from NSArray of objects
  • Index(es):
    • Date
    • Thread