[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Intuition' (#aros)


Open the Workbench screen.


Source position: intuition.pas line 3222

function OpenWorkBench: IPTR;

Function result

Non-zero if Workbench screen opened successfully, or was already opened. Zero if anything went wrong and the Workbench screen isn't out there.


Tries to (re)open WorkBench screen. If successful return value is a pointer to the screen structure, which shouldn't be used, because other programs may close the WorkBench and make the pointer invalid.

If this function fails the return value is 0.

See also



Closes the Workbench screen.

Documentation generated on: 2017-01-10