Activating the Use of Checkmarks

To use checkmarks in any menu or sub-menu, you must first specify the checkmark character to use for the menu form.

Designer: The checkmark character can be specified in the Designer. See the Designer User's Guide for more information.

Code: Specify the checkmark character for the menu with the set menu checkmark function, smn_checkmark():

void smn_checkmark(checkmark_ch, mfmp)
 
UCHAR checkmark_ch;
/* Character to use for checkmark
*/
MFORMPTR mfmp;
/* Menu form to display checkmarks 
*/

You can specify checkmark_ch as any valid ASCII or extended ASCII character. If you specify Checkmark:SYS_CHECKMARK, you will get the system default checkmark character. For PCDOS, the default is Ö (ASCII 251). All other systems use >.

You can change the system default checkmark character with the set environment checkmark character function, se_checkmark():

void se_checkmark(checkmark_ch)

UCHAR checkmark_ch;        /* Character to use for default checkmark       */


Home Contents Previous Next