IDCMP class: Window needs refreshing
Source position: intuition.pas line 853
const IDCMP_REFRESHWINDOW = $00000004; |
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().
|
Intuition message structure |
|
|
Window structure |
|
|
New window structure |
|
|
Future TNewWindow |
|
|
Tag for OpenWindowTagList(). Which events should be reported |