MFC
前方有一大片阳光
向光而行,微风作伴
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++ 类中静态成员变量vector 初始化 创建线程传递this 指针的使用类成员
最近用mfc做了一个小东西,学到的一些东西。使用静态成员变量:类中所有成员共享数据 mfc 线程函数传this 参数 AfxBeginThread(ExportXml, this); door.hstruct doorInfo{ string name; //用户名 string userid; //用户id string passwd; //密码 in...原创 2018-12-04 19:55:06 · 1562 阅读 · 0 评论 -
MFC listcontrol 设置行号与显示列表数据 edit control 获取与显示信息
//显示列名 DWORD dwStyle = m_listCtrl.GetExtendedStyle(); dwStyle |= LVS_EX_GRIDLINES; m_listCtrl.SetExtendedStyle(dwStyle); m_listCtrl.InsertColumn(1,"工号",LVCFMT_CENTER,90); //插入列...原创 2018-12-03 16:51:28 · 2759 阅读 · 4 评论 -
MFC 生成时间戳、调用文件窗口、线程、重写键盘enter事件
生成时间戳字符串 SYSTEMTIME st; CString strDate, strTime; GetLocalTime(&st); strDate.Format("%4d%2d%2d%.2d%2d%.2d", st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond); ...原创 2018-12-03 18:16:29 · 393 阅读 · 0 评论
分享