Perform an acynchronous action on a window
Source position: intuition.pas line 3330
procedure WindowAction( |
Window: PWindow; |
Action: LongWord; |
Tags: PTagItem |
); |
Window |
|
A window to act upon |
Action |
|
A requested action code (WAC_*) |
Tags |
|
Additional parameters, depending on the action (WAT_*) |
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.
At the moment only WAC_SENDIDCMPCLOSE action is implemented.