CListCtrl::SetExtendedStyle

DWORD SetExtendedStyle( DWORD dwNewStyle );

Return Value

A combination of the previous extended styles used by the list view control.

Parameters

dwNewStyle

A combination of extended styles to be used by the list view control. For a descriptive list of these styles, see the topic in the Platform SDK.

Remarks

This member function implements the behavior of the Win32 macro, , as described in the Platform SDK.

Example

// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;

// Allow the header controls item to be movable by the user.
pmyListCtrl->SetExtendedStyle
   (pmyListCtrl->GetExtendedStyle()|LVS_EX_HEADERDRAGDROP);

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetExtendedStyle