Constructs a CListBox object.

CListBox( );

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.

// Declare a local CListBox object.
CListBox myListBox;

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

Header: afxwin.h