SEC_TREECLASS::SetTreeCtrlStyleEx

BOOLSEC_TREECLASS::SetTreeCtrlStyleEx(DWORDdwStyleEx, BOOLbRedraw)

Sets value for the extended style of a tree view control.

Defined in: trcore.inl

Return Value

Nonzero if the extended style is successfully set; otherwise 0.

Parameters

dwStyleEx

Value of the extended style to set. Can be one or more of the folllowing:

TVXS_WORDWRAP

Enable the word wrap feature.

TVXS_COLUMNHEADER

Enable the column header.

TVXS_SORTHEADER

Makes the header act like a push-button.

TVXS_HEADERDRAGDROP

Enable column drag & drop. This style is available only if TVXS_SORTHEADER is present.

TVXS_MULTISEL

Enable multiple selection.

TVXS_FLYBYTOOLTIPS

Enable tooltips.

bRedraw

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