CWindow::GetDlgItemText

UINT GetDlgItemText( int nID, LPTSTR lpStr, int nMaxCount ) const;

BOOL GetDlgItemText( int nID, BSTR& bstrText ) const;

See GetDlgItemText in the Win32 SDK.

Remarks

Retrieves a control's text. The second version of this method allows you to copy the control's text to a BSTR. This version returns TRUE if the text is successfully copied; otherwise, FALSE.

CWindow OverviewClass Members

See Also   CWindow::SetDlgItemText, CWindow::GetDlgItem