CWnd::SetActiveWindow

Call this member function to make this 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.

Syntax

CWnd* SetActiveWindow( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetActiveWindow