Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Windows Mobile 6.5
A version of this page is also available for

This message sets extended styles in list-view controls.

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


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.


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.

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

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

Related macro: ListView_SetExtendedListViewStyle

Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

© 2015 Microsoft