Skip to main content
Known Participant
May 20, 2009
Question

Disabling context menu in CHM file

  • May 20, 2009
  • 2 replies
  • 2976 views

Hi! I'm brand new to the forums and I'll be generous and say "mildly" proficient with RoboHelp 7. (In apparent ignorance, I would have classified myself as moderate until I checked out some of the questions around here! Holy cow!)

Here's my problem:

I've been requested to remove the print functionality from the context menu in a CHM file. We use only CHM files -- no WebHelp files. This particular CHM is going to be available in a terminal server environment, so there is no possibility for a workaround by means of manipulating registries - one solution I came across while searching for answers.


We have already removed the Print button, but discovered that good old CTRL + P still works.

I haven't found anything in Project Set Up or Project Manager that addresses this issue. Can anyone help?

I am using RoboHelp 7, but I see that RoboHelp 8 is available. Would upgrading to that version solve this problem?

Thanks for any assistance!

This topic has been closed for replies.

2 replies

Participating Frequently
May 20, 2009

Hi, Georgina,

You can use JavaScript to disable the context menu in the topic pane of the HTML Help viewer. See if this thread helps:

http://social.msdn.microsoft.com/Forums/en-US/devdocs/thread/ec8f7185-3a1e-4cab-bc76-fa7036bff816

The Web site to which I provide a link in that thread doesn't appear to exist anymore. I can send you the HelpTips file off-list if you wish.

I'm unaware of any way to disable the context menu in the navigation pane at the left of the Help viewer. I think this is a requirement that Microsoft didn't anticipate in its design of HTML Help.

Pete

Known Participant
May 20, 2009

OK, knowing that this will reveal entirely my lack of technical knowledge and produce a level of exasperation in others that I didn't intend *cringing*: Exactly where would those scripts go?

Known Participant
May 27, 2009

Any more input?

RoboWizard
Inspiring
May 20, 2009

Hi there

I don't believe there is any HAT that offers this functionality. I'd be surprised if there were. The reason is because the CHM viewer is a Microsoft product.

Cheers... Rick

Known Participant
May 20, 2009

To confirm I'm understanding correctly: You are saying that because the right click menu functionality belongs to Windows, RoboHelp can't "touch" it. Have I got it right?

If I have, do you have any ideas on how I might accomplish this?