The information in this article applies to:
SUMMARYIt is not possible to add a Font button using the HTML Help Workshop. You must do this by manually editing the HTML Help project file. This article explains how to add a Font button to an HTML Help window toolbar. MORE INFORMATION
A Window Type is a special configuration that is used to create styles of a Help window. The configuration of Window Type controls which buttons and tabs are used in the compiled HTML Help file. There are options for adding most buttons from the Window Type dialog box. Buttons that cannot be set from the dialog box can be added by editing the Help project file. Edit the Project from within the HTML Help Workshop
Edit the HTML Help Project File (.hhp)
Finishing the Changes
Explanation of the FixThe number modified in the project file (0x10387E) contains the settings of the check boxes on the Buttons tab in the Window Types dialog box. This is a hexadecimal number (base 16), which is broken-down by HTML Help into a binary number (a number composed of only 1 and 0). Note that binary numbers are read from right to left. Each 1 in the binary number indicates a checked box on the Buttons tab. The 21st digit in this number needs to be set to 1 in order to indicate that the Font button should appear. The HTML Help Workshop does not support the setting of the 21st bit, which is why there is not check box for the Font button.
Note that the "0x" in front of the number indicates that the number is a hexadecimal number and is not a decimal number. The actual number is "10387E" not "0x10387E." Below is an example of what the Window Type line looks like after its been modified.
Why was it necessary to click the Default Positions button? The setting of the Default Positions on the Positions tab was done in order to provide a reference point for finding the number to modify in the project file since the positions are surrounded by the bracket "[]" characters.
Additional query words: HTMLHELP, Html Help, fonts, buttons
Keywords : kbHTMLHelp kbide kbSDKPlatform kbDSupport kbGrpDSTools |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |