摘要: 首先在类的OnInitDialog()函数中进行列表的初始化: 1 //获取并设置扩展风格 2 DWORD style = m_List.GetExtendedStyle(); 3 m_List.SetExtendedStyle(style| LVS_EX_GRIDLINES| LVS_EX_FUL 阅读全文
posted @ 2019-12-29 18:39 mktest123 阅读(505) 评论(0) 推荐(0)
摘要: 具体看实例: 1 #include <iostream> 2 using namespace std; 3 //定义一个第一人称游戏的人物角色的结构体 4 struct NPC { 5 char Name[20]; 6 int age; 7 bool sex;//男=0,女=1 8 }; 9 int 阅读全文
posted @ 2019-12-29 10:22 mktest123 阅读(463) 评论(0) 推荐(0)