![]() | Programming Guide | ![]() |
Sets a behavior variable
int sm_option(int option, int newval);
option- The behavior variable to change.
newval- The new value, defined in
smsetup.h, to assign theoption-specified option. To get an option's current value, supply the valueNOCHANGE.
- · The old value for the specified option.
sm_optionlets you change Panther behavior variables at runtime—for example, error window attributes, delayed write options, cursor display, and zoom options. You can set one of these variables:
Note: Use sm_keyoption to change the behavior of cursor control keys.