LVS_EX_FULLROWSELECT
When an item is selected, all of its subitems are also displayed as selected. Clicking on any subitem will select the entire row. This extended style is only effective in conjunction with the LVS_REPORT style.
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.
Returns a DWORD value that contains the previous extended list view control styles.
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.