摘要:
方式一 int i1=mylist4.InsertItem(0, _T("李明")); //插入一行(一项) /* 参数1:int nItem 行的索引 参数2:LPCTSTR lpszItem 控件头的名字 返回值:行号 四种风格都可以 */ 方式二 i1=mylist4.InsertItem(1 阅读全文
posted @ 2023-04-28 22:23
天子骄龙
阅读(801)
评论(0)
推荐(0)
摘要:
int i= mylist4.InsertColumn(0, _T("姓名"), LVCFMT_CENTER,70,-1);//在报告模式下插入一列 /* 参数1:int nCol 要插入列的列号 参数2:LPCTSTR lpszColumnHeading 字符串地址 参数3:int nFormat 阅读全文
posted @ 2023-04-28 20:59
天子骄龙
阅读(266)
评论(0)
推荐(0)
摘要:
获取窗口样式 LONG Styles = GetWindowLong(hWnd4, GWL_STYLE);//获取窗口风格 /* 参数1:HWND hWnd 窗口句柄 参数2:int nIndex 改变窗口上的何种属性 窗口属性包括窗口的样式(GWL_STYLE)、扩展样式(GWL_EXSTYLE) 阅读全文
posted @ 2023-04-28 19:54
天子骄龙
阅读(511)
评论(0)
推荐(0)
摘要:
修改样式 LONG Styles; Styles = GetWindowLong(hWnd4, GWL_STYLE);//获取原窗口风格 /* 参数1:HWND hWnd 窗口句柄 参数2:int nIndex 改变窗口上的何种属性 */ LONG l = SetWindowLong(hWnd4, 阅读全文
posted @ 2023-04-28 19:42
天子骄龙
阅读(416)
评论(0)
推荐(0)
摘要:
mylist.SetBkColor(RGB(0, 0, 255));//设置背景颜色 阅读全文
posted @ 2023-04-28 07:22
天子骄龙
阅读(81)
评论(0)
推荐(0)

浙公网安备 33010602011771号