CWnd::SetActiveWindow
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

CWnd::SetActiveWindow

Makes CWnd the active window.

CWnd* SetActiveWindow( );

Return Value

The window that was previously active.

The returned pointer may be temporary and should not be stored for later use.

Remarks

The SetActiveWindow member function should be used with care since it allows an application to arbitrarily take over the active window and input focus. Normally, Windows takes care of all activation.

See Also

CWnd Overview | Class Members | Hierarchy Chart | SetActiveWindow | CWnd::GetActiveWindow

Show:
© 2016 Microsoft