[futurebasic] Re: [FB] Command Keys in Menu Resources (OSX-Rezilla)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2007 : Group Archive : Group : All Groups

From: Paul Bruneau <paul_bruneau@...>
Date: Wed, 18 Apr 2007 08:52:49 -0400
On Apr 18, 2007, at 6:54 AM, Bernie wrote:

> Brian H said:
>
>> I haven't figured out how to add command keys to my Rezilla menu 
>> resources
>
> I've never used menu resources so I haven't a clue what advantages 
> they have over, say, menus built with FB's menu statements [less code, 
> perhaps?]. However, it seems to me that if you're going to launch 
> another app (Rezilla) to build menus, then why not use Apple's 
> Interface Builder? With I.B. menus, menu selections can still be 
> picked up in FB's "on menu fn DoMenu" or (better) in a carbon events 
> command process handler.

Bernie I think your advice is right on. I too want to start moving away 
from resources, so I've been trying to collect code samples of how to 
do it for the various resource types. Do you know of an example of FB 
code that can build a menu from a NIB?