SUMMARY
<script type="text/javascript"></script>
MORE INFORMATION
<script type="text/javascript"></script>
- Modify the Mapisvc.inf file to include a section titled [Help File Mappings]. Add an entry for your service provider that points to your Help file, for example:
[Help File Mappings] My Service Provider=C:/TEST/myhelp.hlp
- Since the display table uses an array of DTPAGE structures you must set the lpszComponent member of the DTPAGE structure you are interested in. So to set the help of the first page to point to your help file you would modify the lpszComponent member as follows:
DtPropPages[0].lpszComponent = "My Service Provider";
- Another member of the DTPAGE structure points to a second structure that defines all the controls and properties on the DTPAGE. This member is lpctl and points to a variable of type DTCTL.
DtPropPages[0].lpctl = UserConfigPage;
- The next step is to point the property page to a specific topic in your Help file that you enabled in step 2. One of the controls that can be added to the DTCTL structure is the DTBLPAGE. The DTBLPAGE structure describes a tabbed page that is a control that is used to separate several related dialog boxes. The fourth member of the DTBLPAGE structure is the mapped Topic ID you want to link to in your Help file, for example:
DTBLPAGE DtPage = { sizeof(DTBLPAGE), 0, 0, 1};
- The last step is to modify your Help file to create a mapped Topic ID. You must map your Topic ID to the same number you specified in step 4 above. In this case, you mapped a Topic ID to the number 1, for example:
If your help file contains a Topic ID of 'Service_Provider_Help', you should map this topic to the number 1. The Microsoft Help Workshop has an option to map topics to numerical values. Your mapping would look like this:Service_Provider_Help=1