Skip to main content
Inspiring
May 22, 2008
Question

RoboHelp CHM - Disabling menu option in Navigation Pane

  • May 22, 2008
  • 2 replies
  • 2622 views
Dear Forum,

I am using RoboHelp X5.

I am in the process of disabling print options/text selection in a CHM file. On the topics side I got some useful javascripts through this forum (thanks Pete Lees) to disable text selection and disable print screen button option.

However, when you use mouse right click in the Navigation Pane - Content Tab (where the TOC is available) it shows following menu options: Open All, Close All and Print. Is it possible to disable this menu option or at least the Print option? If so how to achieve it. Please give your ideas.

With thanks and regards,
Krishna
This topic has been closed for replies.

2 replies

June 2, 2008
This all sounds to me like using duct tape to protect the front entrance to your home, while the front door (with locks) is missing.

Neither CHM nor WebHelp are secure by any means.

If any of your users has only the slightest desire to print your documentation, they will very quickly find a way to do so, using nothing more than Google.

If anything, CHM is more "secure" than WebHelp, because at least its content is "scrambled" inside a single compiled file. In contrast, in WebHelp, its content is free to read by anyone (especially if your file names are obvious).

It just seems like you are spending a lot of time trying to figure out security features, which can be circumvented by novices (albeit those who invest a few minutes with Google, or browsing your files).

If anything, I would stick to CHM.

For CHM, perhaps do not worry so much about disabling the Print menu functionality. Instead, you could disable the print functionality itself. I recall a CSS "media" tag, which you can set to "empty" for "printing". Let me know if you need me to dig this up for you.
Participating Frequently
May 22, 2008
Hi again,

I'm pretty certain that this context menu is built into the HTML Help ActiveX control, which is used to implement the Contents pane in the help viewer, and it can't be disabled.

Pete
P KrishnaAuthor
Inspiring
May 22, 2008
Hi Pete,

I was biting my nails and pinning hopes on what the forum is going give me as a solution to this curious issue and seeing your mail I have to accept the fact that there can be no alternative to this!!!! Cant' we touch that Activex Control part at all? There must be some sort file to activate this right? Can't we get into it and modify the contents? Please enlighten!

How about not using the left pane (contents/search) at all and give TOC on our own. Will it be a nice idea to pursue?

With thanks and regards,
Krishna
Participating Frequently
May 22, 2008
Hi,

> Cant' we touch that Activex Control part at all? There must be some sort
> file to activate this right? Can't we get into it and modify the contents?

No, I don't believe so. The requirement to turn off the context menu in the TOC was not anticipated in Microsoft's design of HTML Help, so there is no published way to do so. This is not to say that it is impossible, as a programmer may be able to figure out how to disable the functionality, but I have not seen this documented anywhere.

> How about not using the left pane (contents/search) at all and give TOC
> on our own

Rick Stone describes a way to do this in his Tips and Tricks file, which you can download from this page:

http://www.robowizard.com/RoboWizard/NewProject.htm#Downloads/Tips_and_Tricks.htm

See the topic called "Compiled HTML Help using a skin?".

Pete