PRB: HC3048 Warning Appears While Compiling Help Project (281957)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0
  • Microsoft Winhelp Workshop 4.03

This article was previously published under Q281957

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 "Show/Hide" tool tip. If it is not visible, you can add it by customizing the toolbar and going to the "View" category.
  2. Click this "Show/Hide" 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 "Keep with next" 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 "Keep with next" 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 "Symptoms" section.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbCompiler kbprb KB281957