다음을 통해 공유


CListBox::CListBox

Constructs a CListBox object.

CListBox( );

Remarks

You construct a CListBox object in two steps. First, call the constructor ClistBox and then call Create, which initializes the Windows list box and attaches it to the CListBox.

Example

// Declare a local CListBox object.
CListBox myListBox;

// Declare a dynamic CListBox object.
CListBox* pmyListBox = new CListBox;

Requirements

Header: afxwin.h

See Also

Concepts

CListBox Class

CListBox Members

Hierarchy Chart

CListBox::Create