When the user clicks the Help button in the Start menu, your application’s active window receives a WM_HELP message. At this point you want PegHelp.exe to launch, and for it to know the name of your HTML file. By including the anchor name of a topic, you can have that specific topic be displayed when PegHelp comes up. For example, you might issue the following command to have the "Main Contents" topic be displayed.
CreateProcess(TEXT("PegHelp.exe"),TEXT("VOShoppingList.htm#Main_Contents"),NULL, NULL, FALSE, 0, NULL, NULL, NULL, NULL); Each dialog in your application should handle the WM_HELP message and display the appropriate topic this way.
CreateProcess(TEXT("PegHelp.exe"),TEXT("VOShoppingList.htm#Main_Contents"),NULL, NULL, FALSE, 0, NULL, NULL, NULL, NULL); Each dialog in your application should handle the WM_HELP message and display the appropriate topic this way.
解决方案 »
- 学习windows驱动开发。。。什么教材比较好。。容易入门
- 一个奇特的问题!!高手请进!!
- 基于对话框,点击确认按钮后,把在文本框输入的内容显示出来。
- 位图的问题
- 高分求助
- 我的对话框程序EXE在别的Windows版本下运行,右下边界面被砍掉了,怎么办呢?
- CTreeCtrl 如何采用让他双击一个 item (文字部分)的时候,不展开
- unicode !?? char*
- 请教关于BHO的问题。
- VC++中使用内存映射文件处理大文件
- sockServer.Receive(&dataLength, 4),如何让socket接收数据后,继续运行以下程序?
- 怎样把本地的一个rtf文件以字符串形式存到ActiveX控件中的text域中,急问!!
CButton::GetStatic()次函数的写好的例子