### Predefined Symbols and Identifiers in the IRE

From many of the style dialog boxes, you can use an ID field to select ID symbols and values that are contained in the include header file. This field contains all of the symbol definitions entered through the program for the current design file. It also contains the symbol definitions that were read from the include header file.

In the IRE, there are some predefined symbol IDs and values. The following shows these symbols, their values, and their uses:

IDCANCEL | 2 | Used with the Cancel button.
IDOK | 1 | Used with the OK button.
SC_SIZE | 0x8000 | Used with Size system-menu item (Alt+F8).
SC_MOVE | 0x8001 | Used with Move system-menu item (Alt+F7).
SC_MINIMIZE | 0x8002 | Used with Minimize system-menu item (Alt+F9).
SC_MAXIMIZE | 0x8003 | Used with Maximize system-menu item (Alt+F10).
SC_CLOSE | 0x8004 | Used with Close system-menu item (Alt+F4).
SC_RESTORE | 0x8008 | Used with Restore system menu item (Alt+Enter or Alt+F5).
SC_NEXTWINDOW | 0x8010 | Not used.

These pre-defined constants are contained in the include header files. They will not be placed in the include header file created by the IRE when the files are saved to disk.

When you click on the drop-down button of the ID field, the drop-down list will be displayed showing these predefined constants, along with constants read from the include header file and those defined in the current design. Note that the list will display the ID symbols and values in different colors.

The following lists the colors used and their meaning:

- Green pre-defined symbol
- Blue symbol used in the design and contained in the include header
- Black symbol not used in the design but contained in the include header
- Red symbol not defined in the include header but used in the design

If you right-click the mouse while in the drop-down list area, a pop-up menu will be displayed. Through this pop-up menu, you can select a letter to jump to.

You can also click the Mask menu item in this pop-up menu. This displays a small window, ID Symbol Search Mask, in which you can enter the characters of the search mask that should be used to orient the list to. This allows you to jump to a specific symbol group and not just the major character of the group.