Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

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.

Download demo project - 48 KB


  • how can I embed not a help window but a regular word or pdf viewer?

    Posted by cordoval on 01/20/2007 06:25pm

    how can I embed not a help window but a regular word or pdf viewer? thanks, luis

  • Can U Get rid of the VScroll bars?

    Posted by Legacy on 10/19/2001 07:00am

    Originally posted by: Ferar Achkar

    I wonder if it's possible some how to get rid of VScroll bar .. and should it work either for Microsoft Web Browser Control?

  • Let us grow up

    Posted by Legacy on 10/11/2001 07:00am

    Originally posted by: Sudip

    The best HTML Control if u would like to have is there in MSDN site written by Paul Dilascia. It pains me immensely when I see people trying to replicate that sometimes almost doing Cut-paste and naming the classes as if there own. Let us grow up.. we are all good programmers and we don't need to steal and show the world that we are the best..

  • What are the user's software requirements?

    Posted by Legacy on 12/08/1999 08:00am

    Originally posted by: Andrey Babak

    What are the user's software requirements to use HTML help? Do they need Internet Explorer installed?

  • Access violation in GDI32.dll

    Posted by Legacy on 10/18/1999 07:00am

    Originally posted by: A. Demolliens

    I have problems when I use your control :
    1. I can't call myCtrl.ShowWindow(SW_HIDE) because the control loss is hWnd parameter. A next call to myCtrl.ShowWindow(SW_SHOW)cause an assert-fail hWnd = 0
    2. So I add a picture in the page (CFormView) and call myCtrl.BringWindowToTop() when I wan't to see it. This cause sometimes this result in the Debut window :
    First chance exception in *.exe (GDI32.dll) 0xC0000005 : Access violation.
    Later this cause an error 0xC0000005 : MSDev crash... and then windows crash (in fact the explorer)...

    Why ? I use VC++ 6.0 (with or whitout SR2) and IE4 (or IE5).

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date