N
nigelb
I´m building a professional looking Access 2003 application to distribute,
and I´m using my own custom-built help file (built by HelpNDoc - which is
free and excellent!!). I trap the F1 key and instead make an API call using
the following code.
Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
(ByVal hwndCaller As Long, ByVal pszFile As String, _
ByVal uCommand As Long, ByVal dwData As Long) As Long
Sub ShowHelp
hwndHelp = HtmlHelp(Application.hWndAccessApp, sHelpFile, _
HH_DISPLAY_TOPIC, lHelpID)
End Sub
Everything works... no problem! The thing is, I have a custom "Quick Help"
menu item that calls a macro to call my ShowHelp procedure, and this is great
for showing general help for a form or report. But I would like to add the
"What is this?" help feature to my custom menu as well. But how do I use it?
Where do I write the code that executes when the user clicks on command
buttons (or other objects) for the "What is this?" context help?
Your ideas and thoughts would be very appreciated!!
and I´m using my own custom-built help file (built by HelpNDoc - which is
free and excellent!!). I trap the F1 key and instead make an API call using
the following code.
Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
(ByVal hwndCaller As Long, ByVal pszFile As String, _
ByVal uCommand As Long, ByVal dwData As Long) As Long
Sub ShowHelp
hwndHelp = HtmlHelp(Application.hWndAccessApp, sHelpFile, _
HH_DISPLAY_TOPIC, lHelpID)
End Sub
Everything works... no problem! The thing is, I have a custom "Quick Help"
menu item that calls a macro to call my ShowHelp procedure, and this is great
for showing general help for a form or report. But I would like to add the
"What is this?" help feature to my custom menu as well. But how do I use it?
Where do I write the code that executes when the user clicks on command
buttons (or other objects) for the "What is this?" context help?
Your ideas and thoughts would be very appreciated!!