On Mar 14, 2012, at 3:10 AM, bassrelig...@free.fr 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com