IntControl 1003

Syntax:

IntControl (1003, p1, 0, 0, 0)

 

Prevents the WinBatch icon from being opened.

This function sets the "open-able" flag for the WinBatch icon. If the flag is on (default), then the WinBatch icon can be opened (restored) to a normal window by clicking on the icon. If the flag is off, then it is not possible to open the WinBatch icon by any method, including WinShow( ) or BoxOpen( ).

p1  Meaning

-1  Don't change (returns current setting)

0  WinBatch icon cannot be opened. 

1  WinBatch icon can be opened (default). 

 

Returns previous setting.