CListView.SetExtendedListViewStylemethod
Sets extended styles for list-view controls.
Syntax
SUB SetExtendedListViewStyle (BYVAL hListView AS HWND, BYVAL dwExStyle AS DWORD)
Parameters
| Name | Description | |
|---|---|---|
hListView | Handle to the ListView control. | |
dwExStyle | A DWORD value that specifies the extended list-view control style. This parameter can be a combination of Extended List-View Styles. |
Description
Sets extended styles for list-view controls.
Remarks
For backward compatibility reasons, the SetExtendedListViewStyle method has not been updated to use dwExMask. To use the dwExMask value, use the SetExtendedListViewStyleEx method.
When you use this method to set the LVS_EX_CHECKBOXES style, any previously set state image index will be discarded. All check boxes will be initialized to the unchecked state. The state image index is contained in bits 12 through 15 of the state member of the LVITEMW structure.
Reference
- Include file
CListView.inc - Defined in AfxNova/CListView.inc:1501
- Documented in Windows/WIndows Controls/CListView Class.md
- Topic: CListView Class