CWindow::GetWindowText

int GetWindowText ( LPTSTR lpszStringBuf, int nMaxCount ) const;

BOOL GetWindowText ( BSTR& bstrText );

Consulte GetWindowText no Win32 SDK.

Observações

Recupera o texto da janela. O segundo versão esse método permite que você armazenar o texto em um BSTR. Se o texto é copiado com êxito, o valor de retorno é TRUE; caso contrário, o valor de retorno é FALSE.

Visão geral de CWindow |nbsp; Membros de classe

Co&nsulte tambémnbsp;CWindow::GetWindowTextLength, CWindow::SetWindowText

Index