How to draw over a control in an NSView
How to draw over a control in an NSView
- Subject: How to draw over a control in an NSView
- From: Alexander Reichstadt <email@hidden>
- Date: Sun, 30 Oct 2011 20:46:56 +0100
Hi,
given a custom NSView using drawRect to draw, say, a blue rectangle, controls inside that view are always in front of the blue rectangle. Is there a way to draw above controls with drawRect? Also putting a view with controls inside another view that draw in drawRect doesn't change that. Like textfields, they are always above drawn content. How does one draw above controls?
Thanks
Alex
_______________________________________________
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