CListBox::GetText

Call this member function to retrieve a string from a list box. The second form of this member function fills a CString object with the string text.

Syntax

int GetText( int nIndex, LPTSTR lpszBuffer ) const;

void GetText( int nIndex, CString& rString ) const;

At a Glance

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

See Also

CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetTextLen