Skip navigation.
 
mlcustom menu for NSPopUpButton
FROM : Kurt Sutter
DATE : Tue Nov 06 20:55:17 2007

I have an NSPopUpButton in a window created with Interface Builder. I 
would like to attach a custom menu to that button. The custom menu is 
e.g. a two-dimensional color palette or some other non-standard, 
usually two dimensional arrangement of items for the user to select. 
Can anyone give me advice how to do that? I have read somewhere that, 
if you want a custom menu in Cocoa, you have to use a Carbon menu. 
This would come in handy because I already do have the carbon code for 
those custom menus. But I have no clue how to attach the Carbon menu 
to that button. Or is there some other recommended way to create a 
custom menu under Cocoa and attach it to a button?

Any advice is appreciated.

Best regards

Kurt Sutter

Related mailsAuthorDate
mlcustom menu for NSPopUpButton Kurt Sutter Nov 6, 20:55
mlRe: custom menu for NSPopUpButton Ken Ferry Nov 7, 07:03
mlRe: custom menu for NSPopUpButton Ken Ferry Nov 7, 18:56