[futurebasic] Re: [FB] Help Menu - again....

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2002 : Group Archive : Group : All Groups

From: Ken Shmidheiser <k.shmidheiser@...>
Date: Thu, 18 Jul 2002 19:15:10 -0400
Brian asked:

>OK - maybe I'm brain dead on this one. Code posted recently (can't
>remember if it was beta or main FB list) has this conditional compile
>for HMGetHelpMenu under carbon. When I bring this into the editor
>HMGetHelpMenu is not highlighted and a carbon compile complains about
>undefined function (which is what I would expect). I've done finds in
>the headers and don't see it in Tlbx Help Mgr.incl. If this is a
>missing toolbox definition, a post of its definition would be
>appreciated.
>
>
>Thanks...Brian
>
>
>code snippet.....
>
>#IF CarbonLib
>err = FN HMGetHelpMenu( helpMenu, #_nil)
>#ELSE
>err = FN HMGetHelpMenuHandle( helpMenu )
>#ENDIF


toolbox fn HMGetHelpMenu( MenuRef * outHelpMenu, ¬
         MenuItemIndex * outFirstCustomItemIndex ) = OSStatus

Ken