如何打开CHM文件,然后定位到某个节点。
我是用ShellExecute 打开的。
可以定位到某个节点吗?
[解决办法]
http://bbs.csdn.net/topics/390603722
[解决办法]
用 ShellExecute 可能有点难度,
用 HtmlHelp 会比较简单
procedure OpenHelpPage(chmFile, htmFile : String);
var
S : String;
begin
S := chmFile + '::/' + htmFile;
HtmlHelp(GetDesktopWindow, PChar(S), HH_DISPLAY_TOPIC, nil);
end;