Related Functions

Setting the Default Spin Button Control Characters

You can change the defaults for the spin button control characters that are displayed to the right of the spin button field.

Designer: You cannot change the default characters displayed for all spin button fields from within the Designer. Furthermore, if you call the set environment spin characters function, se_spinch(), in your code, spin buttons created in the Designer will not be affected. You can, however, change the displayed characters for an individual field from within the Designer.

Code: You can change the default spin button control characters with the set environment spin button characters function, se_spinch():

void se_spinch(down_ch, up_ch)

UCHAR down_ch;            /* Down character                */

UCHAR up_ch;            /* Up character                */

Changing the Logical Attribute of the Spin Button Control Characters

You can change the logical attribute associated with the spin button control characters, LSPINCH, during run-time with the logical attribute replace function, latt_rpl(). See Chapter 46, "Controlling Color with Logical Attributes."


Home Contents Previous Next