Unit 'layers' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

UpfrontLayer

Put layer in front of all other layers.

Declaration

Source position: layers.pas line 158

function UpfrontLayer(

  Dummy: LongInt;

  Layer: PLayer

):LongInt;

Arguments

Dummy

  

unused

Layer

  

pointer to a nonbackdrop layer

Function result

True if operation successful. False if operation unsuccessful (probably out of memory)

Description

Move this layer to the most upfront position 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. By clearing the BACKDROP bit in the layers Flags you may bring a Backdrop layer up to the front of all other layers.

Attention

This operation may generate refresh events in other layers associated with this layer's Layer_Info structure.


Documentation generated on: 2021-07-30