[futurebasic] Re: [FB] How to add a toolbox call?

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

From: Paul Bruneau <paul_bruneau@...>
Date: Thu, 27 May 2004 14:35:42 -0400
On May 27, 2004, at 12:09 PM, Alain Pastor wrote:

> Paul Bruneau wrote:
>> Hi again-
>> Related to my quest for greater appearance/carbon popup menu  
>> understanding, can anyone tell me how to access the toolbox call  
>> GetControlPopupMenuID? It doesn't seem to be recognized by FB.
>> http://developer.apple.com/documentation/Carbon/Reference/ 
>> Control_Manager/controlman_ref/function_group_8.html#//apple_ref/c/ 
>> func/GetControlPopupMenuID
> add the following statement in your code:
> toolbox fn GetControlPopupMenuID(ControlRef c) = short

OK, I get an error that says "the following toolbox items are not 
available on this computer. This program may crash if you continue. 
GetControlPopupMenuID" There is a most ominous button that says 
"Continue (Crash Possible)" at the bottom of the alert :)

Maybe I need another header to be activated?

In any case, I probably don't need it as I was just going to test it 
out to see if it would help me be able to use my hierarchical popup 
menus, and you have solved that problem for me already.