CWindow::SetFocus
Define o foco de entrada para a janela.
HWND SetFocus( ) throw();
Comentários
See SetFocus in the 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