CWnd::SetActiveWindow

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

Makes CWnd the active window.

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.

CWnd OverviewClass MembersHierarchy Chart

See Also   , CWnd::GetActiveWindow