摘要: 在程序的InitInstance()函数里添加如下内容: 阅读全文
posted @ 2016-05-18 16:23 SylarLiang_VC 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1.头文件添加如下内容: 2.cpp文件添加: 3.上面涉及到弹出菜单, m_trayPopupMenu未定义,添加如下定义及内容: //资源文件添加Menu,如 IDR_MENU1 显示主程序 --> ID_SHOW_MENU 退出 --> ID_EXIT_MENU //.h添加 CMenu m_ 阅读全文
posted @ 2016-05-18 11:04 SylarLiang_VC 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 1.打开文件/保存文件 对话框: 1>打开文件对话框 LPCTSTR lpszFilter 参数格式如: "Chart Files (*.xlc)|*.xlc|Worksheet Files (*.xls)|*.xls|Data Files (*.xlc;*.xls)|*.xlc;*.xls|All 阅读全文
posted @ 2016-05-18 10:29 SylarLiang_VC 阅读(825) 评论(0) 推荐(0) 编辑