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 -
On Apr 22, 2010, at 3:33 AM, Yuriy Shevyrov wrote:
> 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.
>
>
No, sorry, this isn't possible yet.
-Peter


