ListBox::GetCount

Description

Syntax

int GetCount( )const

Parameters

Return

Examples

EX1

#include <..\OriginLab\DialogEx.h>   // Dialog class
#define IDC_LIST1 1001

void ListBox_GetCount(Dialog& MyDlg)
{
        ListBox  m_List = MyDlg.GetItem(IDC_LIST1);    
        int nCount = m_List.GetCount();
}

Remark

See Also

header to Include

Control.h