I have a HTMLHelp merged project (A) that has two
sub-projects (B & C). When I open the main project help, the
TOC correctly lists all of the books and pages in it as well as the
two child projects and I can navigate among them and do searches
among all of the pages in all three of the projects. If, on the
other hand, an F1 calls a page in one of the sub-projects, the TOC
just lists the books and pages in the sub-project...it does not
realize that it is a child so there is no reference to the parent
or the other sibling. (e.g. a call to a page in B shows the html
help for the page, but the TOC contains no books or pages for A or
C). Is there a way for all of the child projects to have the exact
same TOC as the Master project even if they are called directly
from my application? Alternatively, is there a different way that
my developers should call the Help such that they go through the
parent every time rather than directly to the respective child
project?
The thread is on the right track (although I have no problem
with the child TOC not showing up).
It looks like the post from Pete Lees with the sample code is
what I need to ultimately get to. You can see in his attached code
for the child (MADE.hpp) the [WINDOWS] entry is
$global_Parent=Parent,"Parent.chm::/parent.hhc", "child.hhk",...
But, how do I get the [WINDOWS] entry in my child.hhp file to
be the parent and the .hhc entry to reference the parent
chm::/parent.hhc? Is it a matter of editing the file, or do I need
to change some settings before recompiling?