Microsoft KB Archive/281957

{|
 * width="100%"|

PRB: HC3048 Warning Appears While Compiling Help Project

 * }

Q281957

-

The information in this article applies to:


 * Microsoft Platform Software Development Kit (SDK)
 * Microsoft Winhelp Workshop, version 4.03

-

SYMPTOMS
When you are compiling a Help project with the Microsoft Help Workshop, the following error message appears:

HC3048 : Nonscrolling region defined after scrolling region

CAUSE
The Rich Text Format (RTF) style that defines a nonscrolling region can only be defined for the first lines (the top line plus any additional consecutive lines) of each topic. If this formatting style appears elsewhere in the topic, this warning will appear.

RESOLUTION
This warning does not affect the resulting Help (.hlp) file, so it can be safely ignored. However, you can change the RTF file to resolve the warning by following these steps, which apply to Microsoft Word 97 and Microsoft Word 2000:


 * 1) Locate the paragraph symbol on the Word toolbar. It is the button with the &quot;Show/Hide&quot; tool tip. If it is not visible, you can add it by customizing the toolbar and going to the &quot;View&quot; category.
 * 2) Click this &quot;Show/Hide&quot; button. This will reveal all hidden characters, such as carriage returns, spaces, and hidden text.
 * 3) Look in the left margin for black boxes. These black boxes indicate &quot;Keep with next&quot; formatting. To see what these symbols look like, apply Keep with next formatting while you are showing the hidden symbols. For details on how to apply this formatting style, see the alternate solution described below.
 * 4) Scan each topic for this marker, and remove the Keep with next style from any line other than the top lines of the topic.

An alternate solution is to turn off the &quot;Keep with next&quot; style for the entire RTF file. You can then go back to add the nonscrolling regions where desired. To do this in Word 97 or Word 2000:


 * 1) Open the RTF file.
 * 2) Press CTRL + A to select all of the topics.
 * 3) From the Format menu, click Paragraph.
 * 4) On the Line and Page Breaks tab, clear the Keep with next checkbox.
 * 5) Click OK to apply the setting.
 * 6) Reapply the Keep with next style to the first lines of any topic for which you want a nonscrolling region.

MORE INFORMATION
A nonscrolling region in a Help topic is the portion at the top of the topic that does not scroll. Typically, the title of the topic is placed in this area, and it is usually distinguished by a different color than the rest of the topic.

To create this nonscrolling region, you must apply the Keep with next formatting style in the RTF file. The first lines in a topic that have this style will be nonscrolling. Applying this style to any lines other than the top ones will result in the error described in the &quot;Symptoms&quot; section.

Additional query words:

Keywords : kbCompiler kbWinHelp kbSDKPlatform _IK kbGrpDSTools

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWinHelpSearch kbWinHelpWkShop403 kbSDKPlatformSearch