The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated. BOOL BringWindowToTop( HWND hWnd // handle to window );
This function brings the specified window to the top of the z-order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated. BOOL BringWindowToTop( HWND hWnd ); Parameters hWnd Handle to the window to bring to the top of the z-order. Return Values Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError
HWND hWnd // handle to window
);
HWND hWnd );
Parameters
hWnd
Handle to the window to bring to the top of the z-order.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError