Question
HtmlHelp doesn't display my chm file for HH_DISPLAY_TOC
Hi there,
I have an MFC application to display a CHM help file generated from
RoboHelp. I override WinHelp to map HELP_* macros to HH_* macros such as
HELP_CONTENTS to HH_DISPLAY_TOC and HELP_CONTEXT to HH_HELP_CONTEXT, and call
htmlhelp API to open the CHM file. At runtime, HH_HELP_CONTEXT works because
pressing F1 key does bring up the CHM file. However, selecting 'Contents'
menu item in 'Help' menu of main menubar has nothing happened. The CHM file
doesn't appear. I noticed that HH_DISPLAY_TOC definition in htmlhelp.h has
the following line:
"#define HH_DISPLAY_TOC 0x0001 // not currently implemented"
It comments as not currently implemented. However, I didn't find any clue in
MSDN to indicate it not currently implemented.
Does anyone have any clue on the problem and any workaround?
Thank you
I have an MFC application to display a CHM help file generated from
RoboHelp. I override WinHelp to map HELP_* macros to HH_* macros such as
HELP_CONTENTS to HH_DISPLAY_TOC and HELP_CONTEXT to HH_HELP_CONTEXT, and call
htmlhelp API to open the CHM file. At runtime, HH_HELP_CONTEXT works because
pressing F1 key does bring up the CHM file. However, selecting 'Contents'
menu item in 'Help' menu of main menubar has nothing happened. The CHM file
doesn't appear. I noticed that HH_DISPLAY_TOC definition in htmlhelp.h has
the following line:
"#define HH_DISPLAY_TOC 0x0001 // not currently implemented"
It comments as not currently implemented. However, I didn't find any clue in
MSDN to indicate it not currently implemented.
Does anyone have any clue on the problem and any workaround?
Thank you