[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BYTE WinSetSysChar(idx, ch)
Sets a system-defined drawing character.
Parameters
idx is an index into the system character table. The possible values
of idx are listed in the table below.
ch is the new drawing character.
Example
chSave = WinGetSysChar(SYSCHAR_EDIT_LBORDER);
WinSetSysChar(SYSCHAR_EDIT_LBORDER, '(');
The following table lists the id's of the system-defined drawing characters.
Index Value Meaning
SYSCHAR_WINDOW_BACKGROUND Window Background
SYSCHAR_ACTIVE_CAPTION Active window caption filler
SYSCHAR_INACTIVE_CAPTION Inactive window caption filler
SYSCHAR_SYSMENU System menu
SYSCHAR_MINICON Minimize icon
SYSCHAR_MAXICON Maximize icon
SYSCHAR_EDIT_BACKGROUND Edit field background
SYSCHAR_EDIT_LBORDER Single-line edit field's left border
SYSCHAR_EDIT_RBORDER Single-line edit field's right border
SYSCHAR_COMBO_ICON Combo-box icon
SYSCHAR_BUTTONCHECK Checkmark for radio button or checkbox
SYSCHAR_RADIOBUTTON_LBORDER Radiobutton's left border
SYSCHAR_RADIOBUTTON_RBORDER Radiobutton's right border
SYSCHAR_CHECKBOX_LBORDER Checkbox's left border
SYSCHAR_CHECKBOX_RBORDER Checkbox's right border
SYSCHAR_PUSHBUTTON_LBORDER Pushbutton's left border
SYSCHAR_PUSHBUTTON_RBORDER Pushbutton's left border
SYSCHAR_DEFPUSHBUTTON_LBORDER Default pushbutton's left border
SYSCHAR_DEFPUSHBUTTON_RBORDER Default pushbutton's right border
SYSCHAR_SCROLLBAR_THUMB Scrollbar's thumb
SYSCHAR_SCROLLBAR_LEFT Horizontal scrollbar's left arrow
SYSCHAR_SCROLLBAR_RIGHT Horizontal scrollbar's right arrow
SYSCHAR_SCROLLBAR_UP Vertical scrollbar's up arrow
SYSCHAR_SCROLLBAR_DOWN Vertical scrollbar's down arrow
SYSCHAR_SCROLLBAR_FILL Scrollbar background
SYSCHAR_SUBMENU Submenu pointer
SYSCHAR_MENUCHECK Checkmark for checked menu items
SYSCHAR_SHADOW Shadow filler
See Also:
WinGetSysChar
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson