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

Thank you! I will forward this to  my developer!

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.