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

AlohaWorkbench

The WorkBench program wants to call this function to signal Intuition that it is active or shutting down.

Declaration

Source position: intuition.pas line 3254

procedure AlohaWorkbench(

  MsgPort: PMsgPort

);

Arguments

MsgPort

  

The MsgPort of the (initialized) WorkBench task or nil if the task is shutting down.

Description

Intuition then uses the MsgPort to tell the WorkBench to open or close its windows if the user called OpenWorkbench() or CloseWorkbench().

When the MsgPort is non-nil Intuition will send IntuiMessages to it with the Class field set to IDCMP_WBENCHMESSAGE and Code field set to either WBENCHOPEN or WBENCHCLOSE. Intuition assumes that when the WorkBench task replies this messages, it already has opened/closed its windows.

Errors

This function is obsolete and should not be used directly by the Workbench Application. Use RegisterWorkbench() instead!

See also

RegisterWorkbench

  


Documentation generated on: 2017-01-10