Help files typically have chm,hlp and so on, and in PowerBuilder you can use PB-brought functions and API functions to call and open Help files.
1, using PB's function showhelp
showhelp ("Help.chm", finder!)
Help.chm is the name of the Help file
2, using the Invoke application function run
Run ("hh.exe Help.chm")
The help.chm should contain absolute paths, in the case of the current directory
3, using API functions
Description API Functions
Function Long Htmlhelpa (Long hwnd, String lphelpfile, Long Wcommand, string dwdata)
Library "Hhctrl.ocx"
Calling API functions
declaring variables
Long Hh_display_topic = 0
Htmlhelpa (handle (this), "Help.chm" + ">" + "W_main",, Hh_display_topic, "conn_check_messages.htm")
W_main is the name of the window that opens the Help file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.