result = MoveLayerInFrontOf( layertomove, targetlayer )
LONG MoveLayerInFrontOf(
struct Layer *,
struct Layer *);
Move this layer in front of target layer, swapping bits in and out of the display with other layers. If this is a refresh layer then collect damage list and set the LAYERREFRESH bit in layer->Flags if redraw required.
- Note:
-
This operation may generate refresh events in other layers associated with this layer's Layer_Info structure.