共用方式為


CCheckListBox::CCheckListBox

Constructs a CCheckListBox object.

CCheckListBox( );

Remarks

You construct a CCheckListBox object in two steps. First define a class derived from CCheckListBox, then call Create, which initializes the Windows checklist box and attaches it to the CCheckListBox object.

Example

CCheckListBox myCheckListBox;
myCheckListBox.Create(LBS_HASSTRINGS | LBS_OWNERDRAWFIXED, 
   CRect(10, 10, 100, 100), this, IDC_MYCHECKLISTBOX);

Requirements

Header: afxwin.h

See Also

Reference

CCheckListBox Class

Hierarchy Chart

CCheckListBox::Create