I need help with the help feature in VB5
I need help with the help feature in VB5
(OP)
The only reference I found about help in VB5 tells me I need to "invoke" help from a Common Dialog structure. !?
I followed that and what happens is that it invokes the subjects of the help file but not the Contents file. So the user has no way to go to the "Table of contents" to select a different subject once he is in help mode.
BUT if I press F1 I get to the Table of contents and from there I access the different subjects with no problem. Plus With F1 the "window" I'm defining works.
Any clue?
I followed that and what happens is that it invokes the subjects of the help file but not the Contents file. So the user has no way to go to the "Table of contents" to select a different subject once he is in help mode.
BUT if I press F1 I get to the Table of contents and from there I access the different subjects with no problem. Plus With F1 the "window" I'm defining works.
Any clue?
RE: I need help with the help feature in VB5
Private Declare Function OSWinHelp% Lib "user32" Alias "WinHelpA" (ByVal hWnd&, ByVal HelpFile$, ByVal wCommand%, dwData As Any)
on then form load event
SetAppHelp Me.hWnd
on the unload event
QuitHelp
If you want to use help on controls and forms, set the HelpContentID property to the value of the help you want