CListBox::InitStorage

Call this member function to allocate memory for storing list-box items.

Syntax

int InitStorage ( int nItems, UINT nBytes )

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE calculates the amount of memory to allocate. The nBytes parameter isn't used. Set the nBytes parameter to zero.

See Also

CListBox Overview, CListBox Member Functions, Control Classes, CListBox::CListBox, CListBox::Create, CListBox::ResetContent