Value | Meaning |
---|---|
INVALID0 | The object does not have a layer |
BACKGROUND1 | This layer is reserved for the desktop background |
CANVAS2 | This layer is used for Canvas components |
WIDGET3 | This layer is normally used for components |
MDI4 | This layer is used for layered components |
POPUP5 | This layer is used for popup components, such as menus |
OVERLAY6 | This layer is reserved for future use. |
WINDOW7 | This layer is used for toplevel windows. |
Describes the layer of a component
These enumerated "layer values" are used when determining which UI rendering layer a component is drawn into, which can help in making determinations of when components occlude one another.