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

Re: makeKeyAndOrderFront


  • Subject: Re: makeKeyAndOrderFront
  • From: Daniel Child <email@hidden>
  • Date: Fri, 09 Dec 2005 10:28:23 -1000

Thanks, Andreas. That fixes the problem.

On Friday, December 9, 2005, at 12:18 AM, email@hidden wrote:


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
  • Prev by Date: Re: threads vs run-loops for keeping your GUI responsive
  • Next by Date: Programmatically add data to a Persistent Data Model with Bindings
  • Previous by thread: Re: Bindings detail column shows dictionary description, not value
  • Next by thread: Programmatically add data to a Persistent Data Model with Bindings
  • Index(es):
    • Date
    • Thread