2012年2月16日
摘要: CListCtrl& m_list = GetListCtrl();//得到内置的listctrl引用 LONG lStyle; lStyle = GetWindowLong(m_list.m_hWnd, GWL_STYLE);//获取当前窗口风格 lStyle &= ~LVS_TYPEMASK; //清除显示方式位 lStyle |= LVS_REPORT; //设置报表风格 SetWindowLong(m_list.m_hWnd, GWL_STYLE, lStyle); //设置窗口风格 DWORD dwStyle = m_list.GetExtendedStyle();/ 阅读全文
posted @ 2012-02-16 10:59 小水人 阅读(106) 评论(0) 推荐(0) 编辑