请问如何在里实现打开帮助文件 *.hlp?(10分)

想知道delphi 程序里面如何实现,[:)]
 
shellexecute(handle, 'open', pchar(filename), nil, nil, sw_show);
?
 
同意l_x_yuan
 
handle 是指?[:)]
 
WinHelp(Application.Handle, PChar(ExtractFilePath(Application.ExeName) + 'Help/HrSysSet.hlp'), HELP_CONTENTS, 0);
 
>:请问如何在里实现打开帮助文件 *.hlp?
代码如下:
procedure TForm1.Button1Click(Sender: TObject);
begin
application.HelpFile:='*.hlp';
application.HelpCommand(help_finder,0);
end;

这样就搞定~
当弹出对话框时你可以搜索一下指定目录!
 
是指一个整型数值,windows用来知道是哪个窗口调用了shellexecute函数。
 
uses shellapi;
procedure.......click()
var
handle:hwnd;
begin
shellexecute(handle, 'open', pchar(*.hlp), '-s', '', sw_shownormal);
end;
[:)]
 
顶部