如何实现按下一个按钮时打开帮助文件(.chm)? 如何实现按下一个按钮时打开帮助文件(.chm)? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ShellExecute(m_hWnd, "open", "xxx.chm", NULL, NULL, SW_SHOWNORMAL); HFILE OpenFile( LPCSTR lpFileName, // pointer to the filename LPOFSTRUCT lpReOpenBuff, // pointer to the file information struct UINT uStyle // specifies the action and attributes); 1. 现在你的project->setting->link->library modules中加入 htmlhelp.lib2.在你的cpp文件前加上 #include <htmlhelp.h>3.在你的按钮事件中加上::HtmlHelp(NULL, ".\\***.chm", HH_DISPLAY_TOPIC, 0); Scanner.h(13) : error C2201: “GetDateFromScannerThread”: 必须有外部链接才可进行导出/导入 char数组的问题 关于网络间数据传输中发现的问题求助 RichEdit中,如何让光标所在行的整行文本成为选中状态? 怎么样监控应用程序?就像在任务管理器中列出的那样. 在线等 关于OLE DB实现分布式事务的问题。 请高手帮忙 如何在程序中打开特定的网页? 怎样在程序中屏蔽一些按键 CButton的小问题 请描述一下 CObject::Dump() 和 CObject::AssertValide()在继承类中的作用
LPCSTR lpFileName, // pointer to the filename
LPOFSTRUCT lpReOpenBuff, // pointer to the file information struct
UINT uStyle // specifies the action and attributes
);
2.在你的cpp文件前加上 #include <htmlhelp.h>
3.在你的按钮事件中加上
::HtmlHelp(NULL, ".\\***.chm", HH_DISPLAY_TOPIC, 0);