CListCtrl m_listctrl;
LONG styles;
styles=GetWindowLong(m_listctrl.m_hWnd,GWL_STYLE);
SetWindowLong(m_listctrl.m_hWnd,GWL_STYLE,styles | LVS_REPORT);
获取控件或者窗口样式
最新推荐文章于 2021-10-06 08:36:48 发布
CListCtrl m_listctrl;
LONG styles;
styles=GetWindowLong(m_listctrl.m_hWnd,GWL_STYLE);
SetWindowLong(m_listctrl.m_hWnd,GWL_STYLE,styles | LVS_REPORT);