CWnd::GetWindowText

Call this member function to copy the CWnd caption title into the buffer pointed to by lpszStringBuf or into the destination string rString.

Syntax

int GetWindowText( LPTSTR lpszStringBuf, int nMaxCount ) const;

void GetWindowText( CString& rString ) const;

At a Glance

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

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::SetWindowText, CWnd::GetWindowTextLength