我做了个chm帮助,如何调用呀?用什么函数?ShellExecute吗? 我做了个chm帮助,如何调用呀?用什么函数?ShellExecute吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 //打开.hlp或.chm文件 shellexecute(self.Handle,PChar('Open'),PChar('del6vcl.hlp'),nil,PChar('C:\Program Files\Borland\Delphi6\Help'),SW_SHOWNORMAL); shellexecute(self.Handle,PChar('Open'),PChar('qq.chm'),nil,PChar('C:\Program Files\Tencent\help'),SW_SHOWNORMAL); (1)显示*.HLP帮助文件 winhelp(form1.clienthandle,'c:\app.hlp',help_contents,0); 用于查找关键字 winhelp(form1.clienthandle,'c:\app.hlp',help_key,0);(2)显示*.HTM帮助文件 添加控件TWebBrowser(ActiveX) webbrowser.navigate(URL,flags,targetframename,postdata,heads);(3)显示*.CHM帮助文件 USES中加入Shellapi Var St:Array[0..255] of char; begin ShellExecute(Handle,'open',StrPCopy(St,'c:\app.chm'),nil,nil,SW_SHOW); end; 我的代码有错误吗? 新创窗体那个"关闭按钮"它的代码是? Help! 右击WORD文档,选择属性,中的摘要页签中显示那样,左边是个TREEVIEW右边可以编辑,这是什么控件? 问几个API函数 Delphi有没有控件数组? 我也来点程序 怎么查询paradox表中的memo字段? 怎么实现访问一个网络地址的响应时间?? 动态报表问题,重新转移。 我做了个chm帮助,如何调用呀?用什么函数?ShellExecute吗? DWORD = Types.DWORD;这条语句是什么意思?
shellexecute(self.Handle,PChar('Open'),PChar('del6vcl.hlp'),nil,PChar('C:\Program Files\Borland\Delphi6\Help'),SW_SHOWNORMAL);
shellexecute(self.Handle,PChar('Open'),PChar('qq.chm'),nil,PChar('C:\Program Files\Tencent\help'),SW_SHOWNORMAL);
winhelp(form1.clienthandle,'c:\app.hlp',help_contents,0);
用于查找关键字
winhelp(form1.clienthandle,'c:\app.hlp',help_key,0);
(2)显示*.HTM帮助文件
添加控件TWebBrowser(ActiveX)
webbrowser.navigate(URL,flags,targetframename,postdata,heads);
(3)显示*.CHM帮助文件 USES中加入Shellapi
Var St:Array[0..255] of char;
begin
ShellExecute(Handle,'open',StrPCopy(St,'c:\app.chm'),nil,nil,SW_SHOW);
end;