Re: Refresh problem with right aligned rectangle while resizing anNSOutlineView
Re: Refresh problem with right aligned rectangle while resizing anNSOutlineView
- Subject: Re: Refresh problem with right aligned rectangle while resizing anNSOutlineView
- From: malcom <email@hidden>
- Date: Wed, 28 Nov 2007 22:40:38 +0100
Hello Corbin,
I've tried to remove the highlightSelectionInClipRect and the hightlight
effect but nothing has changed so I'm not sure about the origin of this
refresh problem. This is the code, compile yourself and try to resize the
window itself (the rectangle is red, just a test).
http://www.box.net/shared/zqj5oqera5
On Nov 28, 2007 10:19 PM, Corbin Dunn <email@hidden> wrote:
> On Nov 28, 2007, at 1:03 PM, malcom wrote:
>
> > Yes the highlight color has been replaced with my own. In fact I've
> > used a
> > modified version of Source LIst (you can found it here:
> > http://web.mac.com/leemorgan/Bit_Bucket/Source_Code.html or
> > http://www.latenightsw.com/blog/?p=45) and I've added only the code
> > I've
> > pasted before. I'm on leopard (if you want I can send a link to the
> > complete
> > source).
>
> Since you are on Leopard, use the built in source list highlighting
> (assuming you are linking against 10.5).
>
> http://developer.apple.com/releasenotes/Cocoa/AppKit.html
>
> Read: NSTableView /NSOutlineView - selectionHighlightStyle.
>
> corbin
>
--
Indie Mac Developer
web: www.malcom-mac.com
mail: email@hidden
aim: malcombsd
_______________________________________________
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