Condividi tramite


CWindow::SetActiveWindow

Attiva la finestra.

HWND SetActiveWindow( ) throw();

Note

Vedere SetActiveWindow in Windows SDK.

Esempio

// The following example attaches a HWND to the CWindow object
// and sets the window as an active window by calling 
// CWindow::SetActiveWindow which returns the HWND of the
// previously active window.

CWindow myWindow;
myWindow.Attach(hWnd);   
HWND hWndPrev = myWindow.SetActiveWindow();

Requisiti

Header: atlwin.h

Vedere anche

Riferimenti

Classe di CWindow