PRB: Caret Appears Outside Border in Multiline Edit ControlLast reviewed: July 23, 1997Article ID: Q127153 |
3.10
WINDOWS
kbui kbprb
The information in this article applies to:
SYMPTOMSIf a multiline edit control is created with the WS_HSCROLL and ES_MULTILINE style, the caret may still be visible even when it is scrolled beyond the area of the edit control. For example, if a line is longer than the edit control and the caret is placed at the start of the line, when the the edit is scrolled toward the end of the line, the caret becomes visible outside of the control.
CAUSEThe CS_PARENTDC class style is on the standard edit control to allow Windows version 3.1 edit controls to be compatible with Windows version 3.0 edit controls. This causes this behavior.
RESOLUTIONTo avoid this behavior:
|
Additional reference words: 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |