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

WindowAction

Perform an acynchronous action on a window

Declaration

Source position: intuition.pas line 3330

procedure WindowAction(

  Window: PWindow;

  Action: LongWord;

  Tags: PTagItem

);

Arguments

Window

  

A window to act upon

Action

  

A requested action code (WAC_*)

Tags

  

Additional parameters, depending on the action (WAT_*)

Description

Perform an acynchronous action on a window that is not controlled by the caller task. This function is safe even when the window is destroyed by the owner during the call.

Currently defined actions are:

WAC_SENDIDCMPCLOSE send an IDCMP_CLOSEWINDOW message.

Note: This function is compatible with MorphOS. The requested action is executed asynchronously, the function actually returns before it is complete.

Errors

At the moment only WAC_SENDIDCMPCLOSE action is implemented.


Documentation generated on: 2017-01-10