Hello, I wonder if anyone of you can suggest a solution for our latest problem. Here it is:
We have quite complicated html output here. Our main software product has its own *.chm file which describes the features of the basic software. Then we produce some extensions to this software, which use their own screens and modify some of the main software. These have their own *.dll files and their own *.chm files (because when the context help is called from the control module screen, we want to view the help in the context of the given module. Analogous dialogs has the same ID and are distinguished by the *.chm file called). In each of these "control module" files there is the dedicated control module help and, because of the modification of some of the windows of the main software, also the imported TOC of the main help. The linking to topics of the main help then helps very simply. The control module help opened looks similar to this:
control module project (TOC)
â”” copy of the main help (TOC)
Then the things begin to complicate. The main help is meant to include all of the control modules as well, just to be able to navigate through it. If we include the control module target which in return includes the main help copy of the TOC, we get to the following situation:
Main help TOC
│
â”” imported control module 1 target (TOC)
│└ copy of the main help TOC
│
â”” imported control module 2 target (TOC)
│└ copy of the main help TOC
│
â”” imported control module 3 target (TOC)
│└ copy of the main help TOC
│
...
As you can clearly see, the main software TOC is included several times in the main *.chm file. It is a nuisance, but we got used to it and don't know how to get rid of it without either changing the software we produce or reducing the help functionality. We would appreciate reducing the complexness of the help and its size, but... we can live with that.
But to the problem - I have tried the Search function in the help. It gives me the valid results, but as in the wrong version of the main help TOC. If I read it correctly, the main TOC which is included several times by this process uses the same topics for the build every time, so each of these topics is included in the result just once, not multiple times. The problem is that, depending on the location in the contents of the help in the time of the search, the next lower appearance of the given topic is found and marked in the content, others are ignored. I would like to find the result preferably only in the original Main Help TOC, in the particular control module TOCs and NOT in the copies of the main TOC. Is there any way how to do this?
Congratulations for the reading endurance, thank you in advance for any suggestions.
Daniel Mentlik
DataApex
Czech Republic.