This method puts the thread that created the window into the foreground and activate the window.
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 |
BOOL SetForegroundWindow ( );
This method 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.