[futurebasic] Re: [FB] Displaying a about box from the application menu

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

From: Brian Stevens <brilor@...>
Date: Tue, 17 Aug 2004 21:18:23 -0700
On Aug 17, 2004, at 6:51 PM, Brian Heibert wrote:

> I am using PG to create the menus.

Brian,

If not using the PG runtime (and this is what was indicated when you 
said Window Clipper was used to translate the PG resource file), PG is 
NOT building the menus for you when the program runs. Maybe there is 
some confusion here by the loose use of words.

There are three stages for PG:

1) Build the menus using the Program Generator and save them to the 
yourproject.rsrc
2) If using the PG runtime (which you aren't----see comment above), PG 
builds the menus when your program runs. Since your program is not 
using the PG runtime, the programmer has to load the menus from 
resources, it does not happen automatically. After this step the 
program has menus that can be chosen by the user.
3) The user picks a menu and menu item. Both in PG and non-PG it is the 
programmer's responsibility to respond to the menu/menuitem selection.

The source code supplied does not do item # 2. There are other things 
to do but this is the major piece that is missing.

Brian S.

>
> Here's my source code: