• 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
prevent UIAgent with floating NSPanel stealing focus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

prevent UIAgent with floating NSPanel stealing focus?


  • Subject: prevent UIAgent with floating NSPanel stealing focus?
  • From: has <email@hidden>
  • Date: Mon, 16 Mar 2015 21:50:30 +0000

Hi all,

Quick question as I'm guessing the answer is "no", but I've a UIAgent that floats an NSPanel above other apps and I'm wondering if there's any way to avoid 1. having to click not once but twice to put the cursor in a text field when the panel isn't already active, and 2. prevent the next app - in this case Adobe Illustrator - losing all focus which causes all of its own panels to vanish? [1]

(I realize I could probably implement my NSPanel as a ObjC++ plugin which runs within the Illustrator process, but I'd rather not inject my own code into AI if possible as it's crashy enough without my shoddy C* code destabilizing it further.)

Thanks,

has

[1] Screen recording if it helps illustrate the problem: <http://mantasystems.co.uk/placepackcopy-720.mov> (22MB)
_______________________________________________

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


  • Follow-Ups:
    • Re: prevent UIAgent with floating NSPanel stealing focus?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Next by Date: Re: prevent UIAgent with floating NSPanel stealing focus?
  • Previous by thread: Re: Using NSURLSession in a command line tool?
  • Next by thread: Re: prevent UIAgent with floating NSPanel stealing focus?
  • Index(es):
    • Date
    • Thread