|
|
ETI menu requests are implemented as integers above the curses maximum key value KEY_MAX. A symbolic constant MAX_COMMAND is provided to enable your applications to implement their own requests (commands) without conflicting with the ETI form and menu system. All menu requests are greater than KEY_MAX and less than or equal to MAX_COMMAND. Your application-defined requests should be greater than MAX_COMMAND. Two illustrations occur in the example in the next section. ``Integer ranges for ETI key values and MENU requests'' diagrams this relationship between ETI key values, ETI menu requests, and your application program's menu requests.
Integer ranges for ETI key values and MENU requests