Modifying the Defaults Used to Create a Menu

Designer: To change the defaults used by the Designer to create a form, you need to modify the Designer configuration file. See the Designer User's Guide for more information.

Code: When a menu is defined in code, any feature not set in the mn_def() call is set to the values in the global default menu window MN_WNP. If you want all your menu windows to have a certain characteristic, you can change the window MN_WNP and all menu windows defined afterwards will have this characteristic.

For example, if you want to have a shadow for all your menu windows, you could call:

sw_shad(TRANSPARENT, LSHADOW, BOTTOMRIGHT, MN_WNP);

All subsequent calls to mn_def() will create a menu whose window has the shadow specified above.


Home Contents Previous Next