SAMPLE: Ecovrwrt.exe - Multiline Edit Control Overwrite Mode

ID: Q81610

The information in this article applies to:

SUMMARY

Ecovrwrt.exe 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.exe 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.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Ecovrwrt.exe (size: 23696 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

Additional query words: Keywords : kbfile kbsample kb16bitonly kbCtrl kbEditCtrl kbGrpUser kbWinOS310 kbWinOS300

Last Reviewed: December 24, 1998