16,472
社区成员
发帖
与我相关
我的任务
分享
LONG lStyle;
lStyle = GetWindowLong(m_ClistCtrl.m_hWnd, GWL_STYLE);//获取当前窗口style
lStyle &= ~LVS_TYPEMASK; //清除显示方式位
lStyle |= LVS_ICON; //设置style
SetWindowLong(m_ClistCtrl.m_hWnd, GWL_STYLE, lStyle);//设置style