Re: Making a NSPanel to look active
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