[solved] wxHtmlHelpController Topic is solved
[solved] wxHtmlHelpController
What tool, preferably free, can I use to turn an ordinary .htm file into an .htb file for use with wxHtmlController?
Last edited by Tony0945 on Mon Sep 20, 2010 12:05 am, edited 1 time in total.
HTML Help Workshop did indeed work for wxCHMHelpController. I would have liked to use the more sophisticated wxHTMLController but when I tried zipping up the HTML file, no data displayed in the Help Box, i.e. the box displayed but there were no contents.
For now, the .chm file built by the Microsoft Tool worked, so I can at least distribute a help file, but I think I lost cross-platform capability.
Thanks for the prompt help from all.
For now, the .chm file built by the Microsoft Tool worked, so I can at least distribute a help file, but I think I lost cross-platform capability.
Thanks for the prompt help from all.
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Create your html files and zip them (let say to help.zip) then rename it to htb extension (that is, help.htb)Tony0945 wrote:HTML Help Workshop did indeed work for wxCHMHelpController. I would have liked to use the more sophisticated wxHTMLController but when I tried zipping up the HTML file, no data displayed in the Help Box, i.e. the box displayed but there were no contents.
For now, the .chm file built by the Microsoft Tool worked, so I can at least distribute a help file, but I think I lost cross-platform capability.
Thanks for the prompt help from all.
There you go!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
According to my notes, there is one more step you need to take when you used the zipped file approach, and that is to add a handler for the archive:
I forget where I found that info, but the zipped file would not work for me until I added that.
Richard
Code: Select all
/* for zipped help file: need to #include <wx/fs_arc.h>
and AddHandler below */
wxFileSystem::AddHandler(new wxArchiveFSHandler);
Richard