Freigeben über


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

Reference

CListBox Class

Hierarchy Chart

CListBox::Create

Other Resources

CListBox Members