ArcPad Scripting Object Model
ShowWindow Method
See Also  Send comments on this topic.
hWnd
Required. An OLE_HANDLE that specifies the window handle to the window of interest.
CmdShow
Required. A Long that specifies how the window is to be shown.
System Object : ShowWindow Method

Glossary Item Box

Description

Sets the specified window's show state.

Syntax

object.ShowWindow( hWnd, CmdShow )

Parameters

hWnd
Required. An OLE_HANDLE that specifies the window handle to the window of interest.
CmdShow
Required. A Long that specifies how the window is to be shown.

Return Type

Boolean

Remarks

CmdShow is a long specifying how the window is to be shown. The possible CmdShow values are:

CmdShow Action
0 Closes the window.
1 Returns the minimized or maximized window to its normal state and displays the window.
2 Displays the window in a minimized state.
3 Displays the window in a maximized state.
4 Returns the minimized or maximized window to its normal state, but does not display the window.

See Also

© 2013 All Rights Reserved.