[futurebasic] Re: [FB] IB pop up menu handle

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2008 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Tue, 26 Feb 2008 13:58:49 +1300
David Bailey wrote:

> After creating a pop up menu (using IB) I would like to add an icon  
> to several of the menu items.  How do you get the menu handle of a  
> nib pop up menu so you can use   SetMenuItemIconHandle to add an  
> icon.  GetMenuHandle appears not to be the way.

err = fn GetControlData( theControlRef, _kControlMenuPart,  
_kControlPopupButtonMenuRefTag, sizeof( MenuRef ), @theMenuRef, #0 )

Robert P.