void CBCGPCheckComboBox::SetState | ( | ULONGLONG | nState, |
BOOL | bRedraw = TRUE |
||
) |
Sets items state by mask.
Call this method to set the combobox items state by mask. For example, calling SetState(0x3) checks first 2 items and unchecks the rest of the items. Please note that this method works correctly only if the combobox has less than 64 items.
nState | Specifies the items state. |
bRedraw | Specifies whether a control should be redrawn. |