Condividi tramite


CWindow::SetFocus

Imposta lo stato attivo per l'input alla finestra.

HWND SetFocus( ) throw();

Note

Vedere SetFocus in Windows SDK.

Esempio

//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();

Requisiti

Header: atlwin.h

Vedere anche

Riferimenti

Classe di CWindow