Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Application Help for an MFC application

Application Help for an MFC application

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++htmlvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    digwizfox
    wrote on last edited by
    #1

    I'm using Visual Studio .Net to create an application that uses HTML help. In general, I am having a really hard time finding good documentation on how this works. The MSDN library is a nightmare to navigate through and is not helping me much at all. Here is my current problem. I can't seem to find a good description for or get a good feel for how all of the files work together. There is an HTMLdefines.h file. Then there are the .hhc, .hhk, .hhp files. Then the .chm file is the compiled output file. I have no problem with the basic editing of the help files and compiling them. In my main application, pressing f1 over almost every menu item works and brings up a help window. I have no idea how because I never did anything specific for this to happen. I didn't even write a function handler to do this. Somehow this was all taken care of by the app wizard. There are two menu items; file-open and help-topics where when I press F1, I get an error message: "can't open help". I don't even know where to begin troubleshooting this since it is not even being done in my code. Somehow there must be some broken links in my help files in the hlp directory but I don't see them. At first glance all seems to be well. When I press help-topics, the .chm window is displayed fine and I have navigated through my help with no broken links. So what gives? Where can I find a book or some good documentation or research papers on how all of the files fit together so that I can solve this problem? Thank you!

    P 1 Reply Last reply
    0
    • D digwizfox

      I'm using Visual Studio .Net to create an application that uses HTML help. In general, I am having a really hard time finding good documentation on how this works. The MSDN library is a nightmare to navigate through and is not helping me much at all. Here is my current problem. I can't seem to find a good description for or get a good feel for how all of the files work together. There is an HTMLdefines.h file. Then there are the .hhc, .hhk, .hhp files. Then the .chm file is the compiled output file. I have no problem with the basic editing of the help files and compiling them. In my main application, pressing f1 over almost every menu item works and brings up a help window. I have no idea how because I never did anything specific for this to happen. I didn't even write a function handler to do this. Somehow this was all taken care of by the app wizard. There are two menu items; file-open and help-topics where when I press F1, I get an error message: "can't open help". I don't even know where to begin troubleshooting this since it is not even being done in my code. Somehow there must be some broken links in my help files in the hlp directory but I don't see them. At first glance all seems to be well. When I press help-topics, the .chm window is displayed fine and I have navigated through my help with no broken links. So what gives? Where can I find a book or some good documentation or research papers on how all of the files fit together so that I can solve this problem? Thank you!

      P Offline
      P Offline
      pubududilena
      wrote on last edited by
      #2

      hi, I think you want Microsoft HTMLHELP SDK...you can download it from here.. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconHH1Start.asp[^] For the coding You can get more from here:- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/vcovrhelptopicshtmlhelpcontextsensitivehelpforyourprograms.asp[^] I think that they are very important to ur purpose... regards, pubudu...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups