Function:
ShowWindow(HWNDhWnd,intnCmdShow)
|
Description:
Sets the specified windows show state.
* Due to fact that there is a native Authorware function by the same name,
you must load this function from the user32.dll under a new name. (Ex.
Function Name: ShowWindowA=ShowWindow).
|
Parameters:
hWnd: The handle of the window to change the show status
of.
CmdShow:
0 = Hide the window.
1 = Show the window and activate it.
2 = Show the window minimized.
3 = Maximize the window.
4 = Show the window in its most recent size and position but do not activate
it.
5 = Show the window.
6 = Minimize the window.
7 = Show the window minimized but do not activate it.
8 = Show the window in its current state but do not activate it
9 = Restore the window (not maximized nor minimized).
|
Returns:
If the window was previously visible, the return value
is nonzero. If the window was previously hidden, the return value is zero.
|
Example: 
Click on the calc icon to view a sample of the ShowWindow
function.
|