Changing the Attributes for a Choice List Menu

The current item is highlighted with the LCLACT logical attribute. All other items (i.e., inactive items) are displayed using LCLINACT. The inactive attribute is the same as the choice list window attribute.

To change one or both of the defaults, use the function scl_att():

void scl_att(active_att, inactive_att, clistp)
 
UCHAR active_att;
/* Active attribute
*/
UCHAR inactive_att;
/* Inactive attribute
*/
CLISTPTR clistp;
/* Pointer to choice list
*/

Specify NOCHANGE for the active or inactive attribute if you do not want to change the attribute.


Home Contents Previous Next