• 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
Force app to be key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Force app to be key


  • Subject: Force app to be key
  • From: "Aychamo Aychamo" <email@hidden>
  • Date: Thu, 19 Oct 2006 11:26:36 -0400

Hey guys

I posted this question earlier, but upon reviewing it, the question is
really convoluted and ridiculous to expect an answer to.

I'm looking for a method to force my app's window to be on top of all
other windows, and to be key.  I've managed to make it's window be on
top by using [myWindow setLevel: ] and setting it to the highest
level.

However, I can't seem to make it key.  I've tried setting [myWindow
makeFirstResponder: myView], but it won't actually switch the control
of the OS to my program.  If my progam is "active" it will work as
needed, but I need to make OS X automatically select my window, even
if another app is open.

Thank you
AA
_______________________________________________
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


  • Follow-Ups:
    • Re: Force app to be key
      • From: "Stephen Deken" <email@hidden>
  • Prev by Date: Re: NSTableView who retains NSTableColumns?
  • Next by Date: Re: Force app to be key
  • Previous by thread: More : NSTableView who retains NSTableColumns?
  • Next by thread: Re: Force app to be key
  • Index(es):
    • Date
    • Thread