Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Embedding an HTML Help window into a dialog

, 1 Feb 2000
Rate this:
Please Sign up or sign in to vote.
Placing an embedded help window inside of a dialog, property sheet, or window.
  • Download demo project - 48 Kb
  • Sample Image - html_help.jpg

    <!-- Article Starts --> 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

    Share

    About the Author

    Ralph Walden
    Web Developer
    United States United States
    No Biography provided

    Comments and Discussions

     
    GeneralProblem when using Visual Studio 2005 PinmemberHolger Farr19-May-06 1:34 
    GeneralRe: Problem when using Visual Studio 2005 Pinmemberkishoresoftware18-Apr-08 8:57 
    GeneralRe: Problem when using Visual Studio 2005 PinmemberHolger Farr20-Apr-08 23:52 
    GeneralRe: Problem when using Visual Studio 2005 Pinmemberfeelapi24-Feb-10 18:44 
    GeneralDisabling File drop in this type of dialog PinmemberWolfram Steinke30-Jan-06 8:59 
    QuestionHTMLHelp from another PC ? PinmemberSaviPpp5-Oct-05 1:01 
    AnswerRe: HTMLHelp from another PC ? Pinmembersnowlin30-Sep-08 19:49 
    QuestionHow to get the default topic? Pinmembersamson_duan31-Jul-05 17:02 
    Questionwhat a crap? Pinsussbuzz0073-May-05 6:51 
    AnswerRe: what a crap? PinmemberRavi Bhavnani3-May-05 7:51 
    GeneralDoes not work for Windows 98 Pinmemberladydi991-May-05 23:46 
    GeneralRe: Does not work for Windows 98 PinmemberRalph Walden3-May-05 9:07 
    GeneralRe: Does not work for Windows 98 Pinmemberladydi993-May-05 19:43 
    GeneralRe: Does not work for Windows 98 PinsussAnonymous17-May-05 21:19 
    GeneralRe: Does not work for Windows 98 PinsussAnonymous23-May-05 20:59 
    Questionhow do create html control using xml file PinsussAnonymous30-Jun-04 0:04 
    GeneralUrgent !!! Please Help ! Pinmemberatul arora31-Mar-04 22:04 
    GeneralRe: Urgent !!! Please Help ! Pinmembersnowlin30-Sep-08 19:58 
    GeneralHelp needed urgent!!!!!!!!! Pinmemberazghar6-Oct-03 21:11 
    GeneralRe: Help needed urgent!!!!!!!!! PinmemberRalph Walden8-Oct-03 9:59 
    GeneralRe: Help needed urgent!!!!!!!!! Pinmemberlvershum10-Dec-03 13:26 
    GeneralRe: Help needed urgent!!!!!!!!! PinmemberRalph Walden10-Dec-03 15:25 
    GeneralRe: Help needed urgent!!!!!!!!! PinmemberssbktSean14-Jan-05 7:52 
    Question.NET version ? Pinsussgeorges21-Jan-03 2:25 
    QuestionHow to highlight some strings? PinmemberAndreas.Stuebinger28-Oct-02 0:11 

    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.

    | Advertise | Privacy | Mobile
    Web01 | 2.8.140916.1 | Last Updated 2 Feb 2000
    Article Copyright 2000 by Ralph Walden
    Everything else Copyright © CodeProject, 1999-2014
    Terms of Service
    Layout: fixed | fluid