CMFCDropDownListBox::GetText

Retrieves a string from the drop-down list box.

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

Parameters

Parameter

Description

[in] nIndex

The zero-based index of the string to be retrieved.

[out] rString

A reference to a CString object that receives the result.

Requirements

Header: afxdropdownlistbox.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCDropDownListBox Class