CWnd::SetActiveWindow

This method makes this CWnd the active window. The SetActiveWindow method should be used with care since it allows an application to arbitrarily take over the active window and input focus.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CWnd* SetActiveWindow( );

See Also

CWnd::GetActiveWindow