Embedding an HTML Help window into a dialog.

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


  • GHD pas cher en ligne livraison gratuite

    Posted by zaikwq055 on 07/16/2013 05:51am

    Les plaques noires scintillantes se détachent sur le rouge riche, avec la technologie céramique avancée, ils glissent doucement dans les cheveux fait coiffer sans effort tout en donnant à vos cheveux une finition parfaite. Certains style est obtenue à partir de droit et élégant aux grandes boucles bondissantes. Le look élégant et rationalisé GHD défrisage des cheveux Ruby Rich feront coiffer les cheveux long et de longueur moyenne à la maison un jeu d'enfant - obtenir cette finition salon pour vos cheveux quand et où vous voulez. [url=http://ghdpascherfer.webgarden.es/]ghd lisseur prix[/url] Maintenant, avec tension universelle pour une performance optimale partout dans le monde que vous êtes deg.Hvilemodus est une configuration de sécurité intégré qui vous donne la tranquillité d'esprit, car il s'éteint automatiquement technologie numérique av.Unik signifie que la température est contrôlée automatiquement encore plus rapide pour un meilleur style. New rounder baril de sorte qu'il est facile de créer des boucles parfaites, vagues ou chiquenaudes, ainsi que les supprimer. [url=http://ghdpascherfer.tripod.com/]ghd lisseur[/url] GHD Styler Hair utilise des plaques en céramique chauffées à la fois les cheveux raides et boucle. Un bon entretien permettra d'assurer votre styler GHD dure aussi longtemps que possible. Nettoyage des résidus de produits coiffants de style devrait faire partie de l'entretien régulier. Il gardera le styler est à son meilleur. Vous pouvez facilement nettoyer votre styler GHD sans causer de défrisants damage.Ceramic sont préférés pour le salon et le style de la maison.

  • Nike Display Max 1 FB publicity, have a piquant color texture, the unheard of shoes

    Posted by Geozyoceada on 04/23/2013 02:13am

    In the summer in a tumbler interior the imperturbable sprite seems to be a decorous preferred, but if the sprite "feet"? Will also give you a frisk, take a sustenance! This summer, Nike and Sprite [url=http://markwarren.org.uk/property-waet.cfm]air max 90[/url] and his sneakers to a commingling of enduring snow spread of non-professional, off-white and blue color scheme in the definitive Nike Arrogance Max 1 shoes let slip a refreshing impertinent scent.[url=http://fossilsdirect.co.uk/glossarey.cfm]nike huarache free[/url] Summer is the duration to hand-pick a purified shoe, shoes should be a good choice. Qualifying series Nike Freshen Max HomeTurf megalopolis recently definitely comes up, this series in the masterpiece Breath Max shoes to London, Paris and Milan the three paid glorification to the iconic see of Europe, combined with the characteristics of the three cities, Air Max 1 HYP,Allied Max 90 HYP,Superciliousness Max 1 and shoes such as Make public Max 95, combined [url=http://northernroofing.co.uk/roofins.cfm]nike free run uk[/url] with the Hyperfuse, as well as a heterogeneity of materials, such as suede, Whether you after practicable or retro-everything.

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

    Posted by cordoval on 01/20/2007 10:25am

    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 12: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 12: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 12: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 12: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).

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

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

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