Hi Quincey,

On Mon, Jun 22, 2009 at 2:33 PM, Quincey
Morris<quinceymor...@earthlink.net> wrote:

> FWIW, the small "gotcha" in the sample code you linked to (AFAICT, since I
> never tried it) is that it places the "placard" in the area normally
> occupied by a scroll bar. The corner rect that the OP wants to draw is
> slightly different, in that the NSScrollView deliberately draws white in
> that corner, unless it's set to not draw a background at all. That means the
> linked-to code may not be quite complete -- it may also be necessary to
> ensure that the custom corner view draws above and/or after the scroll view,
> or else it may get painted over.

Subviews are always drawn after the parent (for obvious reasons if you
think about it), so if I correctly understand the point you're trying
to make, there won't be a problem.

Regards,

Chris
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to