Description
|
Shows or hides an auxiliary console window. See also sim.auxiliaryConsoleOpen and sim.auxiliaryConsoleClose.
|
C/C++ synopsis
|
simInt simAuxiliaryConsoleShow(simInt consoleHandle,simBool showState)
|
C/C++ parameters |
consoleHandle: the handle of the console window, previously returned by the simAuxiliaryConsoleOpen command. When combined with sim.handleflag_extended, then the function will simply query the visibility state of the console.
showState: indicates whether the console should be hidden (0) or shown (!=0)
|
C/C++ return value
|
-1 if operation was not successful. 0 if the console doesn't exist (anymore), in which case no error is generated. 1 if the console window's show state was changed.
|
Lua synopsis
|
int result=sim.auxiliaryConsoleShow(int consoleHandle,bool showState)
|
Lua parameters |
Similar to the C-function counterpart.
|
Lua return values
|
Similar to the C-function counterpart.
|
Python synopsis |
int result=sim.auxiliaryConsoleShow(int consoleHandle,bool showState) |