Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

OpenWorkBench

Open the Workbench screen.

Declaration

Source position: intuition.pas line 3485

function OpenWorkBench: LongWord;

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.

Description

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

CloseWorkBench

  

Closes the Workbench screen.


Documentation generated on: 2021-07-30