• 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: Making a NSPanel to look active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a NSPanel to look active


  • Subject: Re: Making a NSPanel to look active
  • From: Seth Willits <email@hidden>
  • Date: Wed, 14 Mar 2012 11:50:22 -0700

On Mar 14, 2012, at 3:10 AM, email@hidden wrote:

> I have a NSPanel, containing a NSTableView.
> This panel is a child of -and ordered front of- a NSWindow.
> I also want the NSWindow to remain the key window so it still receive key events, but I also want th epanel to remains visible, front window and (most important) look active.
> Unfortunately, I don't manage to fix the last point, and the selected rows of the contained NSTableView look gray instead of active blue


Only the key window draws with the active control colors for text selection and row highlights, so I think your only option is to subclass the controls to tweak drawing. Otherwise you'll have to go along with the standard behavior.


--
Seth Willits

_______________________________________________

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

References: 
 >Making a NSPanel to look active (From: email@hidden)

  • Prev by Date: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
  • Next by Date: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
  • Previous by thread: Making a NSPanel to look active
  • Next by thread: Re: Making a NSPanel to look active
  • Index(es):
    • Date
    • Thread