List-View Item States
An item's state value consists of the item's state, an optional overlay mask index, and an optional state image mask index.
An item's state determines its appearance and functionality. The state can be zero or one or more of the following values:
Constant | Description |
---|---|
|
Not currently supported. |
|
The item is marked for a cut-and-paste operation. |
|
The item is highlighted as a drag-and-drop target. |
|
The item has the focus, so it is surrounded by a standard focus rectangle. Although more than one item may be selected, only one item can have the focus. |
|
The item's overlay image index is retrieved by a mask. |
|
The item is selected. The appearance of a selected item depends on whether it has the focus and also on the system colors used for selection. |
|
The item's state image index is retrieved by a mask. |
Remarks
You can use the LVIS_OVERLAYMASK mask to isolate the one-based index of the overlay image. You can use the LVIS_STATEIMAGEMASK mask to isolate the one-based index of the state image.
Requirements
Requirement | Value |
---|---|
Header |
|