Hi,
i think the answer is NO, but hey, you never know...
We are going to start generating two unique help files (.chm
files) from one project file. One chm is for our customers who own
hardware stores. The other chm is for our customers who own
automotive part stores. Our developers say that they only want one
map file. So, say chm file A will have map ID 1 attached to a topic
called "inventory_retail.htm." Well, chm file B needs to have map
ID 1 attached to a topic called "inventory_automotive.htm."
Just a sidenote, in case this is relevant....
One of our programmers has come up with a unique way of
making context sensitivity work. When I set up map IDs, in the
Topic ID field, I enter the exact name of the application window to
which the context sensitive topic is linked. For example, I have a
map id whose topic ID is "Inventory_Maintenance" because the
application window is called Inventory Maintenance. Thus, the
second parameter in the BSSCDefault.h file (the topic ID) is equal
to the screen name in our application. The programmer made it so
the function which calls help reads the BSSCDefault.h file, and if
the map id in the application window is set to 0 (zero), it gets
the topic id out of the.h file using the screen name. In other
words, this keeps the programmer from having to put the various map
ids into the application...he can just enter a 0 in every
application window, and the whole thing works beautifully.
So, back to my question...
I can't see any way that i can have one map ID that would
work with two different topics (so if i'm a hardware store, and i
have chm file A, and click Help, i get the topic
"inventory_retail.htm." but if I'm an automotive customer, and I
have chm file B, and i click Help, I get the topic
"inventory_automotive.htm.")
Am i right that this would only work if we have 2 map files?
Of course, I hope i'm wrong... : )
Thanks,
Laura