Skip to main content
Known Participant
September 14, 2009
Question

Can TOC be disabled for Context Sensitive HTML Help

  • September 14, 2009
  • 2 replies
  • 1495 views

In context sensitive HTLM help, can the TOC left menu be disabled so that ONLY the mapped topic pulls up in the window when the user selects help in the application? When we click on our component in our app the correct topic is pulling up but so is the full blown TOC. We want ONLY the topic to pull up. Is that possible.

Diana

This topic has been closed for replies.

2 replies

Participating Frequently
September 15, 2009

Hi, Diana,

You can achieve what you want by defining a new HTML Help window in which to display the context-sensitive topics, and then have your developers reference this window in their calls to the Help file.

For example, you could set up a window called "NoNavPane" from which you've removed the navigation pane (or in which the navigation pane is initially hidden when the window is opened, but it can still be accessed by clicking the Show/Hide button in the toolbar). In their context Help calls, the developers would reference the new window like this:

HtmlHelp(0, "c:\app\help\Help.chm>NoNavPane", HH_HELP_CONTEXT, 1001);

Pete

Known Participant
September 15, 2009

Pete, this is from my developer, can you clarify? :

 

The example is showing to make a call to the routine "htmlhelp"

 

HtmlHelp(0, "c:\app\help\Help.chm>NoNavPane", HH_HELP_CONTEXT, 1001);

 

But we make a call to the routine "help.showhelp".   I have no reference to a routine "htmlhelp".  Would need to find what namespace that is in, or if it's something we need to install and reference.

Participating Frequently
September 15, 2009

Hi, Diana,

Right, I see from your other thread that the developers are using the .NET Help.ShowHelp method rather than the old HTML Help API to pass context Help calls to your .chm file. See my reply to that thread for more thoughts on this.

You would define the required window within your Help project. Here is an article describing how to do so:

http://help.adobe.com/en_US/RoboHelp/8.0/RoboHTML/WS355AEF7F-34ED-4124-BC8F-B27DE7A228E1.html

Pete

September 14, 2009

In this case, your best bet is to not generate HTML Help. Create WebHelp output, and have the developer point only to the .html file name, no more.