Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>showwindow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ShowWindow()
Set the manner in which a window is displayed
------------------------------------------------------------------------------

Syntax
ShowWindow( <hWnd>, <nCmdShow> )   -->   nOldState

Arguments
<hWnd> is the handle of the window to be controlled.

<nCmdShow> is an integer specifying the new visibility (one of
the SW_* values defined in WINDOWS.CH).

Returns
If the window was previously hidden, zero (0) is returned.
Otherwise a non-zero value is returned.

Description
This function controls the visibility state of a window, i.e.
whether it is visible and if so its size.

Example
ShowWindow( hWnd, SW_MINIMIZE )    // convert to an icon
     .  .  .
ShowWindow( hWnd, SW_RESTORE )     // restore it


See Also: BringWindowToTop() CloseWindow() DestroyWindow() FindWindow() GetWindow() IsWindow() IsWindowVisible() IsZoomed() MoveWindow() OpenIcon() ScrollWindow() UpdateWindow()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson