Call this member function to copy the CWnd caption title into the buffer pointed to by lpszStringBuf or into the destination string rString.
int GetWindowText( LPTSTR lpszStringBuf, int nMaxCount ) const;
void GetWindowText( CString& rString ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::SetWindowText, CWnd::GetWindowTextLength