Grant's CGI Framework
Documentation: Resources

Version: 2.0d6
Release Date: Monday, October 6, 1997
Expires no later than: December 31, 1997

Important: THIS DOCUMENTATION IS INCOMPLETE AND PROBABLY A BIT INACCURATE

It is subject to change as the API matures.
Feedback and contributions are encouraged:

grantcgi@list.nisto.com
or grant@achilles.net

MENUS

If you add your own menus and/or menu items, you will have to implement support for them in the 'CustomDoMenu' and 'CustomAdjustMenus' functions. Refer to the Menu*.c files (":grantscgi:Interface:Menus:") for examples of handling menu selections.

You will also need to edit the "MyMenuConfig.h" file if you add/remove any menus or menu items.


Apple Menu

Change the text of the first menu item of MENU resource 128 to reflect the name of your CGI.
You must not make any other additions or removals from the Apple Menu (unless you want to modify the framework directly, which is not recommended).


File Menu

The first menu item ("Open Custom Window") of MENU resource 129 is used to allow the user to request your default custom window (your 'CustomWindowCreate' function will be called). Change its text to reflect the role of your default window.

Important: If you do not support custom windows (by turning off the 'kCompileWithApplicationWindows' flag in "MyConfiguration.h"), then you MUST remove the "Open Custom Window" item from the File menu (MENU#129). If you do not, your menus will not behave correctly.


Grant's CGI Framework

Contents: Nisto - Products - Mail Lists - Cree - Standards - Babylon 5

Privacy Statement, Legal Notices
Copyright ©1997-1998 Grant Neufeld. All rights reserved. abc