Click here to Skip to main content
Licence 
First Posted 1 Feb 2000
Views 119,952
Bookmarked 24 times

Embedding an HTML Help window into a dialog

By | 1 Feb 2000 | Article
Placing an embedded help window inside of a dialog, property sheet, or window.
  • Download demo project - 48 Kb
  • Sample Image - html_help.jpg

    CHHCtrl is an MFC class designed for placing an embedded help window inside of a dialog, property sheet, or window. The CHHCtrl class hosts shdocvw directly rather then using the HtmlHelp API. This bypasses the bugs in embedded help introduced with the version of HTML Help released with Visual Studio 6. It also gives you access to all IWebBrowser methods which means you can change HTML files on the fly -- for example, showing the actual key associations currently in effect for a program rather then the default set it ships with.

    This project also includes a CItsFile class that you can use for reading any file from a CHM (or ITS) file. It is used by the CHHCtrl class for convertting mapped ids into URLs, but you can use it to read any kind of data that is stored in the CHM file.

    Because of additions to MFC that CHHCtrl relies on, this project requires Visual Studio 6. You may be able to port it to an earlier version of Visual Studio, but expect a fair amount of work.

    The zip file includes additional information (chhctrl.htm) covering how to add CHHCtrl into your project, and documents other functionality that CHHCtrl provides.

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    About the Author

    Ralph Walden

    Web Developer

    United States United States

    Member



    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralProblem when using Visual Studio 2005 PinmemberHolger Farr1:34 19 May '06  
    GeneralRe: Problem when using Visual Studio 2005 Pinmemberkishoresoftware8:57 18 Apr '08  
    GeneralRe: Problem when using Visual Studio 2005 PinmemberHolger Farr23:52 20 Apr '08  
    GeneralRe: Problem when using Visual Studio 2005 Pinmemberfeelapi18:44 24 Feb '10  
    GeneralDisabling File drop in this type of dialog PinmemberWolfram Steinke8:59 30 Jan '06  
    QuestionHTMLHelp from another PC ? PinmemberSaviPpp1:01 5 Oct '05  
    AnswerRe: HTMLHelp from another PC ? Pinmembersnowlin19:49 30 Sep '08  
    QuestionHow to get the default topic? Pinmembersamson_duan17:02 31 Jul '05  
    Questionwhat a crap? Pinsussbuzz0076:51 3 May '05  
    AnswerRe: what a crap? PinmemberRavi Bhavnani7:51 3 May '05  
    GeneralDoes not work for Windows 98 Pinmemberladydi9923:46 1 May '05  
    GeneralRe: Does not work for Windows 98 PinmemberRalph Walden9:07 3 May '05  
    GeneralRe: Does not work for Windows 98 Pinmemberladydi9919:43 3 May '05  
    GeneralRe: Does not work for Windows 98 PinsussAnonymous21:19 17 May '05  
    GeneralRe: Does not work for Windows 98 PinsussAnonymous20:59 23 May '05  
    Questionhow do create html control using xml file PinsussAnonymous0:04 30 Jun '04  
    GeneralUrgent !!! Please Help ! Pinmemberatul arora22:04 31 Mar '04  
    GeneralRe: Urgent !!! Please Help ! Pinmembersnowlin19:58 30 Sep '08  
    GeneralHelp needed urgent!!!!!!!!! Pinmemberazghar21:11 6 Oct '03  
    GeneralRe: Help needed urgent!!!!!!!!! PinmemberRalph Walden9:59 8 Oct '03  
    GeneralRe: Help needed urgent!!!!!!!!! Pinmemberlvershum13:26 10 Dec '03  
    GeneralRe: Help needed urgent!!!!!!!!! PinmemberRalph Walden15:25 10 Dec '03  
    GeneralRe: Help needed urgent!!!!!!!!! PinmemberssbktSean7:52 14 Jan '05  
    Question.NET version ? Pinsussgeorges2:25 21 Jan '03  
    QuestionHow to highlight some strings? PinmemberAndreas.Stuebinger0:11 28 Oct '02  

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Mobile
    Web04 | 2.5.120517.1 | Last Updated 2 Feb 2000
    Article Copyright 2000 by Ralph Walden
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid