# try it...

Posted by wei on March 18, 1999 at 03:23:47:

In Reply to: Re: HelpÀÉ¡õ¡õ¨q¡õ¨Ó? posted by AndyLin on March 12, 1999 at 09:24:40:

'Put these lines in global module
Option Explicit
'For access help file
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
Public Const HELP_TAB = &HF
Public Const cdlHelpContext = 1

'In your form module
Dim x

'View help context
x = WinHelp(hWnd,"Sample.hlp",cdlHelpContext,100)

'View find
x = WinHelp(hWnd, "Sample.hlp", HELP_TAB, -1)

'View Index
x = WinHelp(hWnd, "Sample.hlp", HELP_TAB, -2)

Follow Ups:

- Re: try it... Fred Tsai 21:35:16 3/18/99 (1)
  - Set Window position... wei 03:51:36 3/19/99 (0)