IntControl 1002

Syntax:

IntControl (1002, p1, 0, 0, 0)

 

Sets WinBatch icon display state.

p1  Meaning

-1  Don't change (returns current setting)

0  Hide WinBatch icon. 

1  Show WinBatch icon (default). 

 

This function sets the display state of the WinBatch icon for the duration of the script. The default display state is minimized.

This IntControl is equivalent to using WinShow( ) or WinHide( ) on the current WinBatch window. However, WinShow and WinHide do not have the capability of hiding the icon permanently. If any Box[..] functions are used to display information, the WinBatch icon will return to its previous display state.

Returns previous setting.