Numpad (keypad, numericpad) shortcuts binding to NSMenuItem

2010-08-03 Thread Yuriy Shevyrov
set "#1" or set {0x20e3, '1'} don't work also. setKeyEquivalentModifierMask doesn't allow to specify NSNumericPadKeyMask (I've checked). I port one large cross-platform application from carbon to cocoa to be 64-bit native, so changing behavior here is utterly

Filling edges of NSView-customized NSMenu

2010-04-22 Thread Yuriy Shevyrov
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 co