If you need more control over Help, then you can use the WinHelp API. See the
MSDN link for more details:
http://msdn.microsoft.com/library/psdk/shellcc/shell/Functions/WinHelp.htm
Here are all WinHelp VB declarations from win32api.txt file, some of which you
might need (watch for line wraps):
' Help engine section.
Private Type MULTIKEYHELP
mkSize As Long
mkKeylist As Byte
szKeyphrase As String * 253 ' Array length is arbitrary; may
be changed
End Type
Private Type HELPWININFO
wStructSize As Long
x As Long
y As Long
dx As Long
dy As Long
wMax As Long
rgchMember As String * 2
End Type
' Commands to pass WinHelp()
Private Const HELP_CONTEXT = &H1 ' Display topic in ulTopic
Private Const HELP_QUIT = &H2 ' Terminate help
Private Const HELP_INDEX = &H3 ' Display index
Private Const HELP_CONTENTS = &H3&
Private Const HELP_HELPONHELP = &H4 ' Display help on using help
Private Const HELP_SETINDEX = &H5 ' Set current Index for multi index help
Private Const HELP_SETCONTENTS = &H5&
Private Const HELP_CONTEXTPOPUP = &H8&
Private Const HELP_FORCEFILE = &H9&
Private Const HELP_KEY = &H101 ' Display topic for keyword in offabData
Private Const HELP_COMMAND = &H102&
Private Const HELP_PARTIALKEY = &H105&
Private Const HELP_MULTIKEY = &H201&
Private Const HELP_SETWINPOS = &H203&
Private Const HELP_CONTEXTMENU = &HA
Private Const HELP_FINDER = &HB
Private Const HELP_WM_HELP = &HC
Private Const HELP_SETPOPUP_POS = &HD
Private Declare Function WinHelp Lib "user32" Alias "WinHelpA" (ByVal hWnd As
Long, ByVal lpHelpFile As String, ByVal wCommand As Long, ByVal dwData As Long)
As Long
[ Access WinHelp | Access | Main ]