Export (0) Print
Expand All
MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

CWnd::SetActiveWindow

Makes CWnd the active window.

CWnd* SetActiveWindow( );

The window that was previously active.

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

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.

Header: afxwin.h

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.