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

IDCMP_CLOSEWINDOW

IDCMP class: User pressed close button of window

Declaration

Source position: intuition.pas line 868

const IDCMP_CLOSEWINDOW = $00000200;

Description

IDCMP_CLOSEWINDOW messages are sent when the user selects the window's close gadget. Intuition does not close the window when the close gadget is selected. Rather, an IDCMP_CLOSEWINDOW message is sent to the window's IDCMP. It is up to the application to clean up and close the window itself. If closing a window means losing some data (perhaps the spreadsheet the user was working on), it would be appropriate for the application to first confirm that the user really meant to close the window.

See also

TIntuiMessage

  

Intuition message structure

TWindow

  

Window structure

TNewWindow

  

New window structure

TExtNewWindow

  

Future TNewWindow

WA_IDCMP

  

Tag for OpenWindowTagList(). Which events should be reported


Documentation generated on: 2021-07-30