MFC
小猪快点跑
这个作者很懒,什么都没留下…
展开
-
MFC 学习笔记
一、常用工具 按键 静态框 弹出框 文本框 下拉框 选择框 Button Static-Test Message-Box Edit-Contral Combo-Box Check-Box 二、工具使用 1、弹出框 (MessageBox) MessageBox(_T("Version 1.0")); //只显示内容...转载 2019-05-31 22:23:43 · 335 阅读 · 0 评论 -
MFC 线程函数 读写 主对话框(主线程)的编辑框
1、在线程里获取主对话框上编辑框中的内容,实现办法如下: CString str; CWnd* h_d = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄 h_d->GetDlgItem(IDC_APOETRY_EDIT)->GetWindowText(str); //IDC_APOETRY_EDIT为编辑框的ID 记住:AfxGetApp()-...转载 2019-06-03 16:44:34 · 1295 阅读 · 0 评论