| 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.