m_ctrlListGunInfo.SetExtendedStyle(LVS_EX_FLATSB
|LVS_EX_FULLROWSELECT
|LVS_EX_HEADERDRAGDROP
|LVS_EX_ONECLICKACTIVATE
|LVS_EX_GRIDLINES);
原型
DWORD SetExtendedStyle(
DWORD dwNewStyle
); |
Parameters参数
-
dwNewStyle
-
A combination of extended styles to be used by the list view control. For a descriptive list of these styles, see the Extended List View Styles topic in the Platform SDK.
Return Value 返回值
A combination of the previous extended styles used by the list view control.
Remarks 备注
This member function implements the behavior of the Win32 macro, ListView_SetExtendedListViewStyle, as described in the Platform SDK.