LVM_SETEXTENDEDLISTVIEWSTYLELVM_SETEXTENDEDLISTVIEWSTYLE*
*Contents  *Index  *Topic Contents
*Previous Topic: LVM_SETCOLUMNWIDTH
*Next Topic: LVM_SETHOTCURSOR

LVM_SETEXTENDEDLISTVIEWSTYLE


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

Sets extended styles in list view controls. You can send this message explicitly or use the ListView_SetExtendedListViewStyle or ListView_SetExtendedListViewStyleEx macros.

dwExMask
A DWORD value that indicates which styles in dwExStyle are to be affected. This parameter can be a combination of extended styles. Only the extended styles in dwExMask will be changed. All other styles will be maintained as they are. If this parameter is zero, then all of the styles in dwExStyle will be affected.
dwExStyle
Value specifying the extended list view control style. This parameter can be a combination of extended styles.

dwExMask 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.

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

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.