Share via


CListBox::ResetContent

목록 상자에서 모든 항목을 제거합니다.

void ResetContent( );

예제

// Delete all the items from the list box.
m_myListBox.ResetContent();
ASSERT(m_myListBox.GetCount() == 0);

요구 사항

헤더: afxwin.h

참고 항목

참조

CListBox 클래스

계층 구조 차트

LB_RESETCONTENT