1.在PB8中调用ShowHelp()函数
2.调用外部函数:Function Long HtmlHelp(Long hwnd, string lpHelpFile, Long WCommand, Long dwData) Library “hhctrl.ocx” Alias for “HtmlHelpA”
例如:HtmlHelp(handle(parentwindow),”xxx.chm”,0,0)
Argument Description
string A string whose value is the filename of the program you want to execute. Optionally, string can contain one or more parameters for the program
windowstate (optional) A value of the WindowState enumerated data type indicating the state in which you want to run the program:?Maximized! ?Maximized; enlarge the program window to its maximum size when it starts?Minimized! ?Minimized; shrink the program window to an icon when it starts?Normal! ?(Default) Run the program window in its normal size
Return value
Integer. Returns 1 if it is successful and -1 if an error occurs. If any argument's value is NULL, Run returns NULL.