如何从我在 VC++ 2008 中开发的 GUI 打开帮助文件(chm 左右)? [英] How can I open a help file (chm or so) from my GUI developed in VC++ 2008?
本文介绍了如何从我在 VC++ 2008 中开发的 GUI 打开帮助文件(chm 左右)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为我在 VC++ 2008 中开发的 GUI 添加一些帮助.我想编译一个 chm 文件,或一个可以从我的菜单访问的 hlp 文件.任何人都可以告诉我如何做到这一点?
I'm trying to add some help to my GUI developed in VC++ 2008. I want to compile a chm file, or a hlp file that can be accessed from my menu. Anyone can give me any idea about how to do this?
非常感谢
推荐答案
在HKLM\Software\Microsoft\Windows\HTMLHelp下,创建一个条目
名为 help.chm
value C:\path to\help file.chm
然后在特定主题调用中打开 chm
Then to open the chm at a particular topic call
HtmlHelp(m_hWnd, "Help.chm", HH_DISPLAY_TOPIC, NULL);
这篇关于如何从我在 VC++ 2008 中开发的 GUI 打开帮助文件(chm 左右)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文