LVM_SETEXTENDEDLISTVIEWSTYLE (Windows CE 5.0)

Send Feedback

This message sets extended styles in list-view controls.

LVM_SETEXTENDEDLISTVIEWSTYLE wParam = (WPARAM)dwExMask;lParam = (LPARAM)dwExStyle;

Parameters

  • dwExMask
    Specifies which styles in dwExStyle are to be affected. Only the extended styles in dwExMask will be changed. All other styles will be maintained as is. If this parameter is zero, then all of the styles in dwExStyle will be affected.

  • dwExStyle
    Specifies the extended list-view control style. This parameter can be a combination of extended styles.

    The dwExMask parameter allows you to modify one or more extended styles without having to retrieve the existing styles first. For example, if you pass LVS_EX_FULLROWSELECT for dwExMask and 0 for dwExStyle, the LVS_EX_FULLROWSELECT style will be cleared, but all other styles will remain the same.

Return Values

Returns a DWORD value that contains the previous extended list-view control styles

Remarks

For backward compatibility reasons, the ListView_SetExtendedListViewStyle macro has not been updated to use dwExMask.

Related macro:ListView_SetExtendedListViewStyle

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

Window and Control Styles | ListView_SetExtendedListViewStyle | List-View Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.