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

tricky window status


  • Subject: tricky window status
  • From: "Julius Eckert" <email@hidden>
  • Date: Sun, 24 Feb 2008 15:11:56 +0100

Hi,

my application pops up and becomes keywindow when a hotkey is pressed.

when the hotkey is pressed i do:

[NSApp activateIgnoringOtherApps:true];
and
    [[self window] makeKeyAndOrderFront:self];

this works fine but the behaviour is that the current applications window
looses its focus. i want the behaviour to be like spotlight. when you open
it the current application you are using does not loose its focus.

hope someone can help me with this topic.
thanks in advance.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: row reversal in tables
  • Next by Date: Re: NSButton Subclass - 2 states plus tracking image
  • Previous by thread: row reversal in tables
  • Next by thread: Clearing an NSTextView
  • Index(es):
    • Date
    • Thread