Filling edges of NSView-customized NSMenu
Filling edges of NSView-customized NSMenu
- Subject: Filling edges of NSView-customized NSMenu
- From: "Yuriy Shevyrov" <email@hidden>
- Date: Thu, 22 Apr 2010 13:33:23 +0300
- Thread-topic: Filling edges of NSView-customized NSMenu
Hi all,
Does exist any way to fill top and bottom edges of pop-up NSMenu in a specified color?
I perform porting of one carbon application to cocoa, to be 64-bit compatible. The problem is that the old application has dark-background menus, and when I tried to do the same thing under cocoa I found that no way exist to do so. I'm able to fill background of place where my NSView is drawn but I can't customize drawing of top and bottom edges/corners and they remain white.
/-------------\ <------ this remains white
|My NSView 1 | <------ here oll ok
|My NSView 2 |
|My NSView 3 |
|My NSView 4 |
|...... |
\--------------/ <------ here problem again
_______________________________________________
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