[futurebasic] Re: [FB] Accessing a Help file

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

From: Brian Stevens <brilor@...>
Date: Fri, 21 May 2004 22:12:58 -0700
On May 21, 2004, at 6:59 PM, Barrie wrote:

>>
>> On May 21, 2004, at 5:12 PM, George Beckman wrote:
>>
>>> Call with your help menu item:
>>>
>>> fn OpenFileWithApplication( ghelpFSSpec )
>>
>> Barrie,
>>
>> The FN referred to by George uses Apple Events to open the file. The 
>> FN
>> can be found on the FB^3 R7 CD in /Examples/Donations/Robert P's
>> FavoriteExamples/Application-related/Openfile/(AEvent->Finder) and 
>> also
>> in Alain's CodeStyler source.
>>
>> Brian
>>
>> --
>>
> Brian and George
> Absolutely unbelievable. I followed instructions like a parrot. 
> Couldn't
> understand RP's FN but it all worked first time. Many thanks for a very
> efficient conclusion.
George gave you the answer, I just nudged it along. Good to hear it 
worked.


> Just one more thing. I have my instructions under the Apple menu and I 
> don't
> need the Help menu (with the balloon stuff). How can I get rid of it. 
> It
> does not show up in PG:PRO.
I haven't written a PG:PRO app in a while(so I could be all wet on 
this) , but I don't believe the PG runtime adds a help menu. If so, it 
must be in your code.
The call is slightly different for carbon, so it might be framed in a 
conditional compile like:

#IF CarbonLib
err = FN HMGetHelpMenu( HelpMHndl, #_nil )
#ELSE
err = FN HMGetHelpMenuHandle( HelpMHndl )
#ENDIF

You might start out looking for either of these help manager calls in 
your code.

Brian



> Thanks
> Barrie
>
> --
>