A GR_UPDATE_TYPE enumeration type identifies the reason for a window receiving an update event. When a window receives a GR_EVENT_TYPE_UPDATE or a GR_EVENT_TYPE_CHILD_UPDATE event the GR_EVENT_UPDATE structure contains a field that specifies the update type.
The following table shows all of the available enumeration values that can be assigned to a GR_UPDATE_TYPE variable.
|GR_UPDATE_MAP||Indicates that the window has been mapped.|
|GR_UPDATE_UNMAP||Indicates that the window has been unmapped.|
|GR_UPDATE_MOVE||Indicates that the window has been moved.|
|GR_UPDATE_SIZE||Indicates that the window has been resized.|
|GR_UPDATE_UNMAPTEMP||Indicates that the window has been temporarily unmapped. A window is temporarily unmapped while it is moved, resized or reparented.|
|GR_UPDATE_ACTIVATE||Indicates that the window has been activated.|
|GR_UPDATE_DESTROY||Indicates that the window has been destroyed.|