This member function retrieves a string from the list box of a combo box. The second form of this member function fills a CString object with the item's text.
int GetLBText( int nIndex, LPTSTR lpszText ) const;
void GetLBText( int nIndex, CString& rString ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CComboBox Overview, CComboBox Member Functions, Control Classes, CComboBox::GetLBTextLen