Winapi function that manipulates Windows window display options. It shows, hides, maximalises and minimalises window by HWND handle passed to it. This is windows only function.
showWindow is member of winAPI.
Syntax:
BOOL WINAPI ShowWindow(
_In_ HWND hWnd,
_In_ int nCmdShow
);
Parameters:
(int) hWnd
Window handle
(int) nCmdShow
Display mode. There are constanst defined for display mode. Zero (0
- SW_HIDE
) results in window being completely hidden.
Code example:
Hide console window:
ShowWindow(GetConsoleWindow(), 0); //Console window must exist
More info
More info on Microsoft web page.