FIX: The horizontal scroll bar of the rich edit control may not appear if the control contains only right-aligned text on Windows Server 2003, on Windows XP, or on Windows 2000 (871006)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Server

SYMPTOMS

On a computer that is running Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft Windows 2000, the horizontal scroll bar of the rich edit control may not appear if the rich edit control contains only right-aligned text. This problem occurs if the following conditions are true:
  • You use the EM_SETTARGETDEVICE message to set the target device.
  • You set the line width wider than the visible area of the rich edit control.
This problem also occurs when the rich edit control is in right-to-left (RTL) mode or is using RTL paragraph formatting.

When this problem occurs, you cannot scroll to right-aligned text in the rich edit control.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Windows Server 2003 (x86)
   Date         Time   Version       Size     File name
   -------------------------------------------------------
   19-Aug-2004  01:59  5.31.23.1220  416,256  Riched20.dll
Windows Server 2003 (IA-64)
   Date         Time   Version       Size       File name
   ---------------------------------------------------------
   19-Aug-2004  01:49  5.31.23.1220  1,313,792  Riched20.dll
   19-Aug-2004  01:59  5.31.23.1220    416,256  Riched20.dll
Windows XP Service Pack 2
   Date         Time   Version       Size     File name
   -------------------------------------------------------
   19-Aug-2004  07:12  5.30.23.1223  431,616  Riched20.dll
Windows XP Service Pack 1
   Date         Time   Version       Size     File name
   -------------------------------------------------------
   19-Aug-2004  14:48  5.30.23.1222  439,296  Riched20.dll
Windows 2000 Service Pack 4
   Date         Time   Version       Size     File name
   -------------------------------------------------------
   03-Aug-2004  16:22  5.30.23.1222  412,944  Riched20.dll

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

REFERENCES

For more information about the EM_SETTARGETDEVICE message, visit the following Microsoft Developer Network (MSDN) Web site:For more information about rich edit controls, visit the following MSDN Web site:

Modification Type:MinorLast Reviewed:6/2/2006
Keywords:kbfix kbQFE kbHotfixServer KB871006 kbAudDeveloper