Open the Workbench screen.
Source position: intuition.pas line 4143
function OpenWorkBench: LongWord; |
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.
|
Closes the Workbench screen. |