Share via


CCheckListBox::SetCheckStyle

Call this function to set the style of check boxes in the checklist box.

void SetCheckStyle( 
   UINT nStyle  
);

Parameters

  • nStyle
    Determines the style of check boxes in the checklist box.

Remarks

Valid styles are:

  • BS_CHECKBOX

  • BS_AUTOCHECKBOX

  • BS_AUTO3STATE

  • BS_3STATE

For information on these styles, see Button Styles.

Requirements

Header: afxwin.h

See Also

Reference

CCheckListBox Class

Hierarchy Chart

CCheckListBox::SetCheck

CCheckListBox::GetCheck

CCheckListBox::GetCheckStyle