Re: HTML Help

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: What should be the WPARAM and LPARAM
    ... I am using Windows 32 API. ... You definitely can use SendKeys with a process other than your own. ... You'd still need the unmanaged API to bring the media player to the foreground. ... I haven't bothered to figure out the codes myself, but IMHO the docs are pretty clear on what should be sent. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What should be the WPARAM and LPARAM
    ... Yes I tried to setfocus and used SendKeys and it worked! ... I am using Windows 32 API. ... I haven't bothered to figure out the codes myself, ... appropriate code for the control key in order to generate the Control-P. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Odd key trapping issue on KeyDown event
    ... KeyCode = 0 ... SendKeys "" ... The key codes are right, though incomplete -- you're missing the shifted ... Shift key was down or not, and you don't have to allow for alternate key ...
    (microsoft.public.access.modulesdaovba)
  • Re: GDI+ Metafiles
    ... jumping into designing a type library with API calls that I don't ... which gave me the list of status codes (I'm ...
    (microsoft.public.vb.general.discussion)
  • Re: GDI+ Metafiles
    ... jumping into designing a type library with API calls that I don't ... which gave me the list of status codes (I'm ...
    (microsoft.public.vb.winapi.graphics)