Call this member function to put the thread that created the window into the foreground and activate the window.
BOOL SetForegroundWindow ( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
This member function activates the specified window and brings the thread that created it to the foreground, but the system does not automatically assign a higher priority to the foreground thread, as it does in Windows 95 and Windows NT.
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetFont