Edit Boxes Messages
A version of this page is also available for
4/8/2010
The following table shows the edit box messages, with a description of the purpose of each.
Programming element | Description |
---|---|
This message determines whether an edit-control operation can be undone; that is, whether the control can respond to the EM_UNDO message. |
|
This message retrieves the zero-based character index and zero-based line index of the character nearest the specified point in an edit control. |
|
This message resets the undo flag of an edit control. |
|
This message sets the inclusion flag for soft line-break characters on or off within a multiline edit control. |
|
This message determines the uppermost visible line in an edit control. |
|
This message retrieves the current text limit, in characters, for an edit control. |
|
This message copies a line of text from an edit control and places the text in a specified buffer. |
|
This message retrieves the number of lines in a multiline edit control. |
|
This message retrieves the widths of the left and right margins for an edit control. |
|
This message determines whether the contents of an edit control have been modified. |
|
This message retrieves the password character displayed in an edit control when the user enters text. |
|
This message retrieves the formatting rectangle of an edit control. |
|
This message retrieves the starting and ending character positions of the current selection in an edit control. |
|
This message limits the amount of text the user can enter into an edit control. |
|
This message retrieves the index of the line that contains the specified character index in a multiline edit control. |
|
This message retrieves the character index of a line in a multiline edit control. |
|
This message retrieves the length of a line, in characters, in an edit control. |
|
This message scrolls the text vertically or horizontally in a multiline edit control. |
|
This message retrieves the coordinates of the specified character in an edit control. |
|
This message replaces the current selection in an edit control with the specified text. |
|
This message scrolls the text vertically in a multiline edit control. |
|
This message scrolls the caret into view in an edit control. |
|
This message limits the amount of text the user can enter into an edit control. |
|
This message sets the widths of the left and right margins for an edit control. |
|
This message sets or clears the modification flag for an edit control. |
|
This message sets or removes a password character displayed in a single-line edit control when the user types text. |
|
This message sets or removes the read-only style (ES_READONLY) of an edit control. |
|
This message sets the formatting rectangle of a multiline edit control. |
|
This message sets the formatting rectangle of a multiline edit control. |
|
This message selects a range of characters in an edit control. |
|
This message sets the tab stops in a multiline edit control. |
|
This message reverses the effect of the last edit control operation. |
|
This message indicates that the user has taken an action that could have altered text in an edit control. |
|
This message indicates that an edit control cannot allocate enough memory to meet a specific request. |
|
This message indicates that the user clicked the horizontal scroll bar of an edit control. |
|
This message indicates that an edit control lost the keyboard focus. |
|
This message indicates that the current text insertion has exceeded the specified number of characters for the edit control. |
|
This message indicates that an edit control received the keyboard focus. |
|
This message indicates that an edit control is about to display altered text. |
|
This message indicates that the user clicked the vertical scroll bar of an edit control. |
|
This message notifies the parent window of an edit control when the control is about to be drawn. |
|
This message reverses the effect of the last operation on an edit control. |