Using Edit Controls
This section provides information and example code for implementing edit controls.
Edit controls are typically used in dialog boxes, but you can use them in the client area of a standard window as well. Single-line edit controls are useful for retrieving a single string from the user. Multiline edit controls enable you to implement most of the features of a simple word processor in your application.
The following topics are discussed.
In this section
| Topic | Description |
|---|---|
|
This topic demonstrates how to create a dialog box that contains a single-line edit control. | |
|
This topic demonstrates how to implement a simple word processor by adding a multiline edit control to the client area of a window. |
Send comments about this topic to Microsoft
Build date: 3/6/2012
The edit control uses WM_CHAR for accepting characters, not WM_KEYDOWN etc. You must Translate() your messages or you ironically won't be able to edit the text in the edit control.
- 8/2/2008
- Xilliah
- 8/3/2008
- Thomas Lee