# ATTR_OVERLAPPED_POLICY

Type: | Control attribute
Description: | Determines what occurs when you draw to a canvas that is overlapped by another control.
Control Types: | Canvases.
Data Type: | integer
Default Value: | VAL_DEFER_DRAWING

Values

VAL_DEFER_DRAWING | If the control is overlapped and the draw policy is VAL_UPDATE_IMMEDIATELY, new drawing does not become visible until draw events are processed. If the control is overlapped and the draw policy is VAL_DIRECT_TO_SCREEN, no drawing takes place.
VAL_DRAW_ON_TOP | If the control is overlapped and the draw policy is not VAL_MARK_FOR_UPDATE, drawing occurs on top of the overlapping controls.