Programming Guide


Initializes support for Panther's menu subsystem

void sm_mncrinit6(void);


C only


sm_mncrinit6 is usually called automatically when you enable menus in your application. This function is called and menu support is enabled if you set MENUS to 1 in the main function.

sm_mncrinit6 sets a global variable to point to a control function. All screen manager functions that need menu support check the variable and, if it is non-zero, call indirectly with the request.

Call this function explicitly only if you write your own executive. You must call sm_mncrinit6 in the main function before the call to sm_initcrt.