[futurebasic] Re: [FB] [FB^3] How to invoke Help menu in the Appearance runtime?

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

From: Alain Pastor <pixmix@...>
Date: Sun, 26 May 2002 07:57:56 +0200
Masakazu Nakao wrote:
> 
> Dear friends,
> 
> I am now trying to make small program with help menu.
> 
> I could build help menu by using fn HMGetHelpMenu.
> 
> But I could not trap menu with the Appearance runtime.
> 
> Is there any suggestion to my demo code?
> 
Masa,

There is a statement in the Runtime that prevents FB from sending the
event to the menu vector.
In fn FBMenuSelected the first statement is the following:

if whichMenu <= 0 then exit fn // prevent OS X Application raw menu

Perhaps, you can change that line to:

if whichMenu <= 0 and whichMenu != _kHMHelpMenuID then exit fn //
prevent OS X Application raw menu
-- 
Cheers,

Alain