SEC_LISTCLASS::SetListCtrlStyleEx

BOOLSEC_LISTCLASS::SetListCtrlStyleEx(DWORDdwStyleEx, BOOLbRedraw)

Sets the list control extended styles.

Defined in: slstcore.inl

Return Value

Nonzero if successful; otherwise 0.

Parameters

dwStyleEx

The new extended style.

bRedraw

Flag indicating whether to redraw the tree control; default is TRUE.

Comments

The extended styles can be a combination of the following: LVXS_FLYBYTOOLTIPSEnable tooltips. LVXS_OWNERDRAWVARIABLEReserved. LVXS_LINESBETWEENITEMSPaints horizontal lines between items. LVXS_LINESBETWEENCOLUMNSPaints vertical lines between columns. LVXS_WORDWRAPEnables wrapping item text if column is too narrow. LVXS_HILIGHTSUBITEMSAllows full row selection. This is required for LVS_EDITLABELS to work for subitems.

LVXS_FITCOLUMNSONSIZEThe item column takes up the remaining width not occupied by subitem columns.

LVXS_NOGROWCOLUMNONDELETEPrevents automatic resizing of column 0 when a column is deleted.