Re: HTML Help
- From: "boaz" <nospam@xxxxxxxxx>
- Date: Fri, 1 Apr 2005 14:45:42 -0800
Thanks for the codes!
So, in addition to anything else, I need to install "hhctrl.ocx"?
> ...HelpMaker...
I have given up on the free stuff. I've already forked up a thoursand bulk
for RoboHelp.
"Vince" <sdsad@xxxxxxx> wrote in message
news:OVWMRpPNFHA.576@xxxxxxxxxxxxxxxxxxxxxxx
> If it's a CHM file, this will work. To create a CHM file, I would
> recommend
> the freeware HelpMaker (vizaac.com)
>
>
> '''''''''''''''''''''''''''
> Dim hwndHelp As Long
> '// The returned value is the window handle of the created help window.
> hwndHelp = HtmlHelp(0, "C:\blah.chm", HH_DISPLAY_TOPIC, 0)
> '''''''''''''''''''''''''''''''''''''''''''
>
>
> Option Explicit
>
> Public 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
>
> '// Some constants to use
> Public Const HH_DISPLAY_TOPIC = &H0
> Public Const HH_SET_WIN_TYPE = &H4
> Public Const HH_GET_WIN_TYPE = &H5
> Public Const HH_GET_WIN_HANDLE = &H6
> Public Const HH_DISPLAY_TEXT_POPUP = &HE
> '// Display string resource ID or text in a pop-up window.
> Public Const HH_HELP_CONTEXT = &HF
> '// Display mapped numeric value in dwData.
> Public Const HH_TP_HELP_CONTEXTMENU = &H10
> '// Text pop-up help, similar to WinHelp's HELP_CONTEXTMENU.
> Public Const HH_TP_HELP_WM_HELP = &H11
> '// Text pop-up help, similar to WinHelp's HELP_WM_HELP.
> Public Const HH_CLOSE_ALL = &H12
>
>
> "Casey Provance" <casey@xxxxxxxxxxx> wrote in message
> news:eFD4APBMFHA.1884@xxxxxxxxxxxxxxxxxxxxxxx
>> IMO, API has always been more reliable than SendKeys. Someone posted
>> some
>> sample code for activating the HTML help...I'll see if I can find it.
>>
>> - Kev
>>
>>
>> "boaz" <nospam@xxxxxxxxx> wrote in message
>> news:utLovuAMFHA.4092@xxxxxxxxxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > The vb template puts some api calls for the Help menu.
>> > Do I need to use the api calls?
>> > I usually just use "SendKeys {F1}" and be done with it.
>> >
>> > Is there any shortcoming with using SendKeys?
>> >
>> > --
>> >> There is no answer.
>> >> There has not been an answer.
>> >> There will not be an answer.
>> >> That IS the answer!
>> >> And I am screwed.
>> >> Deadline was due yesterday.
>> >
>> >
>>
>>
>
>
.
- Follow-Ups:
- Re: HTML Help
- From: Casey Provance
- Re: HTML Help
- Prev by Date: Re: Professional courtesy and feedback requested
- Next by Date: Re: HTML Help
- Previous by thread: Professional courtesy and feedback requested
- Next by thread: Re: HTML Help
- Index(es):
Relevant Pages
|