I have created a vs2008 mfc project using the wizard and with context help ticked... all is well so far. I have created a .chm file and mapped the dialog define numbers to the Help Context Number of the help by converting from Hex to Decimal. the F1 button works on the dialogs. I now select the ? icon on the dialog and click on the controls where I want a specific page to open but the F1 page opens. I cannot seem to map the define numbers in the resource.hm file created by VS2008 to the help context number. a typical hm file // Microsoft Visual C++ generated Help ID include file. // Used by h100.rc // #define HIDCANCEL 0x81360002 // IDD_DIALOG1 #define HIDC_BUThlp 0x813603e8 // IDD_DIALOG1 #define HIDC_CHECK1 0x813803ea // IDD_DIALOG3 I have tried subtracting 0x80000000 from these but still get the F1 help not the detailed help of the control. Does anybody know the conversion of the Hex values for these dialog controls.
Hello George, I'm not a C++ Programmer but following links maybe useful for you: Good entry point but much stuff to read: http://msdn.microsoft.com/en-us/library/dyd1yfww.aspx http://msdn.microsoft.com/en-us/library/e318tx2b.aspx It's a bit dated: http://frogleg.mvps.org/helptechnologies/htmlhelp/hhmfc.html http://www.smountain.com/resource/CPPHTMLHelp.pdf http://www.codeguru.com/cpp/w-p/help/html/article.php/c6513/ HTH -- Best regards Ulrich Kulle Microsoft MVP - Help *********************************** http://www.help-info.de *********************************** "Georgeoh" wrote: > I have created a vs2008 mfc project using the wizard and with context help > ticked... all is well so far. > > I have created a .chm file and mapped the dialog define numbers to the Help > Context Number of the help by converting from Hex to Decimal. the F1 button > works on the dialogs. I now select the ? icon on the dialog and click on the > controls where I want a specific page to open but the F1 page opens. I cannot > seem to map the define numbers in the resource.hm file created by VS2008 to > the help context number. > > a typical hm file > > // Microsoft Visual C++ generated Help ID include file. > // Used by h100.rc > // > #define HIDCANCEL 0x81360002 // IDD_DIALOG1 > #define HIDC_BUThlp 0x813603e8 // IDD_DIALOG1 > #define HIDC_CHECK1 0x813803ea // IDD_DIALOG3 > > > I have tried subtracting 0x80000000 from these but still get the F1 help not > the detailed help of the control. > > Does anybody know the conversion of the Hex values for these dialog controls.
Thanks Ulrich I will work my way through them now I am back from my vacation "Ulrich Kulle [MVP]" wrote: > Hello George, > > I'm not a C++ Programmer but following links maybe useful for you: > > Good entry point but much stuff to read: > http://msdn.microsoft.com/en-us/library/dyd1yfww.aspx > http://msdn.microsoft.com/en-us/library/e318tx2b.aspx > > It's a bit dated: > http://frogleg.mvps.org/helptechnologies/htmlhelp/hhmfc.html > http://www.smountain.com/resource/CPPHTMLHelp.pdf > http://www.codeguru.com/cpp/w-p/help/html/article.php/c6513/ > > HTH > > -- > Best regards > Ulrich Kulle > Microsoft MVP - Help > *********************************** > http://www.help-info.de > *********************************** > > > "Georgeoh" wrote: > > > I have created a vs2008 mfc project using the wizard and with context help > > ticked... all is well so far. > > > > I have created a .chm file and mapped the dialog define numbers to the Help > > Context Number of the help by converting from Hex to Decimal. the F1 button > > works on the dialogs. I now select the ? icon on the dialog and click on the > > controls where I want a specific page to open but the F1 page opens. I cannot > > seem to map the define numbers in the resource.hm file created by VS2008 to > > the help context number. > > > > a typical hm file > > > > // Microsoft Visual C++ generated Help ID include file. > > // Used by h100.rc > > // > > #define HIDCANCEL 0x81360002 // IDD_DIALOG1 > > #define HIDC_BUThlp 0x813603e8 // IDD_DIALOG1 > > #define HIDC_CHECK1 0x813803ea // IDD_DIALOG3 > > > > > > I have tried subtracting 0x80000000 from these but still get the F1 help not > > the detailed help of the control. > > > > Does anybody know the conversion of the Hex values for these dialog controls.