Figure 2.
Dig Out the Hidden Capabilities of a Multiline TextBox Control.
The demo program lets you play with the CTextBoxML class module and demonstrates how you can add new properties and methods to a standard TextBox control.