Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to call Help Contents?

Status
Not open for further replies.

hstijnen

Programmer
Nov 13, 2002
172
NL
Hi,

I've made a helpfile test.hlp. Assigning helptopics to windows etc and calling via F1 succeeds.

Now I want to display the the Contents of the helpfile via the menu Help | Help Contents.
From the CBuilder Help I've got some code for the event handler:

const static int HELP_TAB = 15;
const static int CONTENTS_ACTIVE = -3;
Application->HelpCommand(HELP_TAB, CONTENTS_ACTIVE);

But that gives me the wizard to create the dictionary for the helpfile, and next time only the Search tab, without the Contents or Index tab.

Any ideas?
 
Already found. It was the test.cnt file that had to be added.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top