Chapter 1. General PSYX information
OpenANamedDialog() and GetNamedMenu().
If some resources must be read by number, include a named `tag!' resource in the PSYX file's resource fork. The number of the `tag!' resource can be anything, but the name should be the same as the PSYX's four-character ID. Then, to get a resource by number, first call SetUpResFile() (passing in your PSYX's ID), then get the numbered resource(s), and then call TakeDownResFile(). Calls to SetUpResFile() and TakeDownResFile() cannot be nested.
Menu resources may be assigned resource (and menu IDs) only in the ranges 31-50 and 700-720. Menus should only be inserted into the menu list while the dialog is frontmost, since other PSYXs may use the same menu IDs. If, for some reason, your PSYX needs a menu to stay installed while another dialog is active, you should register an ID with PsyScope Support.
Generated with CERN WebMaker