SAMPLE: Multiline Edit Control Overwrite Mode Sample CodeLast reviewed: February 15, 1996Article ID: Q81610 |
The information in this article applies to:
ECOVRWRT is a file in the Microsoft Software Library that demonstrates how an application can implement a multiline edit control in which the user can toggle between "insert" mode and "overwrite" mode. In insert mode, new text pushes any existing text further to the right. In overwrite mode, new text replaces any existing text. To implement overwrite mode, ECOVRWRT subclasses the multiline edit control. When the control is in overwrite mode, when the control receives a WM_CHAR message, the character after the selection point is selected and replaced with the character in the wParam of the message. Download ECOVRWRT.EXE from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.00 3.10 softlib ECOVRWRT.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |