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

IDCMP_REFRESHWINDOW

IDCMP class: Window needs refreshing

Declaration

Source position: intuition.pas line 1011

const IDCMP_REFRESHWINDOW = $00000004;

Description

This message is sent whenever the window needs refreshing. This flag makes sense only with windows that have a refresh type of WA_SimpleRefresh or WA_SmartRefresh.

As a minimum, the application must call BeginRefresh() and EndRefresh() for the window after receiving an IDCMP_REFRESHWINDOW event. Create the window with the WA_NoCareRefresh attribute if you do not want to manage these events.

Most of the graphics library calls used for display output are compatible with Intuition, with the exception of ScrollRaster(). Intuition will not send an IDCMP_REFRESHWINDOW event when damage is caused to a window by ScrollRaster(). This may happen in a simple refresh window which is partially obscured by another window--the region that scrolls out from behind the front window will be damaged, but the window will receive no notification. Check the layers.LAYERREFRESH bit in the Layer structure Flags field to see if damage did happen as a result of ScrollRaster().

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