Z zhouhuice Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-22 #1 Delphi 中如何使用chm的帮助,特别是如何在DialogBox中使用(现在的只能用hlp)?<br><br>另外,论坛的搜索引擎不能用!!
C china_peng Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-22 #2 USES SHELLAPI;<br><br> ShellExecute(handle, 'open', 'YOU.chm',nil,nil, SW_SHOWMAXIMIZED);
X xiaocai Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-27 #4 如果要通用点的,可以<br>var helpfilechar;<br>helpfile:=PChar(extractfilepath(application.exename)+'help.chm');<br>if fileexists(extractfilepath(application.exename)+'help.chm') then<br>ShellExecute(0, nil, p, nil, nil, SW_NORMAL)<br>else<br>showmessage('can't find help file');<br>支持楼主的,搜索确实不能用
如果要通用点的,可以<br>var helpfilechar;<br>helpfile:=PChar(extractfilepath(application.exename)+'help.chm');<br>if fileexists(extractfilepath(application.exename)+'help.chm') then<br>ShellExecute(0, nil, p, nil, nil, SW_NORMAL)<br>else<br>showmessage('can't find help file');<br>支持楼主的,搜索确实不能用