Open a Help File
The following is reprinted for archival purposes from Gary Beene's Information Center, with permission from Mr. Beene himself.
'1. F1 Key
'Set app.Helpfile Property and Press F1
'2. API
Declare WinHelp ...
'bring up contents of Help file
iResult = WinHelp( Me .hwnd, "c:\yourfile.hlp" )
'jump to topic (topic id=1000 in this example)
iResults = WinHelp( Me .hwnd, "c:\yourfile.hlp" , HELP_CONTEXT, 1000&)
'bring up search window
iResults = WinHelp( Me .hwnd, "c:\yourfile.hlp" , HELP_PARTIALKEY, ByVal "" )
'quit Help
iResults = WinHelp( Me .hwnd, "c:\yourfile.hlp" , HELP_QUIT, 0&)
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.