CWindow::SetFocus
Defina o foco de entrada para a janela.
HWND SetFocus( ) throw();
Comentários
Consulte SetFocus em Windows SDK.
Exemplo
//The following example attaches an HWND to the CWindow object and
//calls CWindow::SetFocus() to set the input focus
CWindow myWindow;
myWindow.Attach(hWnd);
HWND hWndLeftFocus = myWindow.SetFocus();
Requisitos
Cabeçalho: atlwin.h