grossag
06-30-2003, 08:43 AM
I have already created a rich text file for help, compiled it into a help file, and tied it in with my VB project, but I am confused as to how to use the helpcontextid feature to jump to specific parts of the help file. I have labels, such as #IDH_CREATE, but when I try to use that as the helpcontextid for a message box's help button, it doesn't work. What am I missing? Thanks, Adam
I have already created a rich text file for help, compiled it into a help file, and tied it in with my VB project, but I am confused as to how to use the helpcontextid feature to jump to specific parts of the help file. I have labels, such as #IDH_CREATE, but when I try to use that as the helpcontextid for a message box's help button, it doesn't work. What am I missing? Thanks, Adam
You need to map values like #IDH_CREATE to numeric values and then use numeric values as Help Contect ID in your app. To map, create the MAP section in your help project (if you made it with Help Workshop). In this map section, map values like:
;Create the map section
[MAP]
IDH_CREATE 101
IDH_REMOVE 102
I don't remember for sure if you need to use '=' or tab character in separating ID from it's numeric value