Calling all techies !!
Please could you help me to overcome a problem I have in getting an compiled html help file to show from an MFC Active X control, developed in Visual C++ .Net
I have complied a file called Help.chm and put in in the same directory as the project.
In the IDL file of the control I have the line
helpfile("Help.chm", and I have even included the .chm file in the solution
In the Constructor of the control class I have added the line AfxGetApp()->EnableHtmlHelp();
and in the OnHelp Windows Message I have the following code.
HtmlHelp(NULL,HH_DISPLAY_TOC);
return True;
When I press F1 I get "Unable To Lauch Help" or "Unable to display help".
I have also tried HH_DISPLAY_TOPIC with a mapped topic ID and HH_DISPLAY_CONTEXT, and can't get to work at all.
Is the help file at fault or is it the code itself
Any Comment Is Useful !
Cheers X
Please could you help me to overcome a problem I have in getting an compiled html help file to show from an MFC Active X control, developed in Visual C++ .Net
I have complied a file called Help.chm and put in in the same directory as the project.
In the IDL file of the control I have the line
helpfile("Help.chm", and I have even included the .chm file in the solution
In the Constructor of the control class I have added the line AfxGetApp()->EnableHtmlHelp();
and in the OnHelp Windows Message I have the following code.
HtmlHelp(NULL,HH_DISPLAY_TOC);
return True;
When I press F1 I get "Unable To Lauch Help" or "Unable to display help".
I have also tried HH_DISPLAY_TOPIC with a mapped topic ID and HH_DISPLAY_CONTEXT, and can't get to work at all.
Is the help file at fault or is it the code itself
Any Comment Is Useful !
Cheers X