EM_CANUNDO
Determines whether there are any actions in an edit control's undo queue. You can send this message to either an edit control or a rich edit control.
EM_CHARFROMPOS
Gets information about the character closest to a specified point in the client area of an edit control. You can send this message to either an edit control or a rich edit control.
EM_EMPTYUNDOBUFFER
Resets the undo flag of an edit control. The undo flag is set whenever an operation within the edit control can be undone. You can send this message to either an edit control or a rich edit control.
EM_FMTLINES
Sets a flag that determines whether a multiline edit control includes soft line-break characters. A soft line break consists of two carriage returns and a line feed and is inserted at the end of a line that is broken because of wordwrapping.
EM_GETCUEBANNER
Gets the text that is displayed as the textual cue, or tip, in an edit control.
EM_GETFIRSTVISIBLELINE
Gets the zero-based index of the uppermost visible line in a multiline edit control. You can send this message to either an edit control or a rich edit control.
EM_GETHANDLE
Gets a handle of the memory currently allocated for a multiline edit control's text.
EM_GETHILITE
Not implemented.
EM_GETIMESTATUS
Gets a set of status flags that indicate how the edit control interacts with the Input Method Editor (IME).
EM_GETLIMITTEXT
Gets the current text limit for an edit control. You can send this message to either an edit control or a rich edit control.
EM_GETLINE
Copies a line of text from an edit control and places it in a specified buffer. You can send this message to either an edit control or a rich edit control.
EM_GETLINECOUNT
Gets the number of lines in a multiline edit control. You can send this message to either an edit control or a rich edit control.
EM_GETMARGINS
Gets the widths of the left and right margins for an edit control.
EM_GETMODIFY
Gets the state of an edit control's modification flag. The flag indicates whether the contents of the edit control have been modified. You can send this message to either an edit control or a rich edit control.
EM_GETPASSWORDCHAR
Gets the password character that an edit control displays when the user enters text. You can send this message to either an edit control or a rich edit control.
EM_GETRECT
Gets the formatting rectangle of an edit control. The formatting rectangle is the limiting rectangle into which the control draws the text. The limiting rectangle is independent of the size of the edit-control window. You can send this message to either an edit control or a rich edit control.
EM_GETSEL
Gets the starting and ending character positions (in TCHARs) of the current selection in an edit control. You can send this message to either an edit control or a rich edit control.
EM_GETTHUMB
Gets the position of the scroll box (thumb) in the vertical scroll bar of a multiline edit control. You can send this message to either an edit control or a rich edit control.
EM_GETWORDBREAKPROC
Gets the address of the current Wordwrap function. You can send this message to either an edit control or a rich edit control.
EM_HIDEBALLOONTIP
Hides any balloon tip associated with an edit control.
EM_LIMITTEXT
Sets the text limit of an edit control. The text limit is the maximum amount of text, in TCHARs, that the user can type into the edit control. You can send this message to either an edit control or a rich edit control.
For edit controls and Microsoft Rich Edit 1.0, bytes are used. For Rich Edit 2.0 and later, characters are used.
EM_LINEFROMCHAR
Gets the index of the line that contains the specified character index in a multiline edit control. A character index is the zero-based index of the character from the beginning of the edit control. You can send this message to either an edit control or a rich edit control.
EM_LINEINDEX
Gets the character index of the first character of a specified line in a multiline edit control. A character index is the zero-based index of the character from the beginning of the edit control. You can send this message to either an edit control or a rich edit control.
EM_LINELENGTH
Retrieves the length, in characters, of a line in an edit control. You can send this message to either an edit control or a rich edit control.
EM_LINESCROLL
Scrolls the text in a multiline edit control.
EM_NOSETFOCUSIntended for internal use; not recommended for use in applications.
Prevents a single-line edit control from receiving keyboard focus. You can send this message explicitly or by using the Edit_NoSetFocus macro.
EM_POSFROMCHAR
Retrieves the client area coordinates of a specified character in an edit control. You can send this message to either an edit control or a rich edit control.
EM_REPLACESEL
Replaces the selected text in an edit control or a rich edit control with the specified text.
EM_SCROLL
Scrolls the text vertically in a multiline edit control. This message is equivalent to sending a WM_VSCROLL message to the edit control. You can send this message to either an edit control or a rich edit control.
EM_SCROLLCARET
Scrolls the caret into view in an edit control. You can send this message to either an edit control or a rich edit control.
EM_SETCUEBANNER
Sets the textual cue, or tip, that is displayed by the edit control to prompt the user for information.
EM_SETHANDLE
Sets the handle of the memory that will be used by a multiline edit control.
EM_SETHILITE
Not implemented.
EM_SETIMESTATUS
Sets the status flags that determine how an edit control interacts with the IME.
EM_SETLIMITTEXT
Sets the text limit of an edit control. The text limit is the maximum amount of text, in TCHARs, that the user can type into the edit control. You can send this message to either an edit control or a rich edit control.
For edit controls and Rich Edit 1.0, bytes are used. For Rich Edit 2.0 and later, characters are used.
The EM_SETLIMITTEXT message is identical to the EM_LIMITTEXT message.
EM_SETMARGINS
Sets the widths of the left and right margins for an edit control. The message redraws the control to reflect the new margins. You can send this message to either an edit control or a rich edit control.
EM_SETMODIFY
Sets or clears the modification flag for an edit control. The modification flag indicates whether the text within the edit control has been modified. You can send this message to either an edit control or a rich edit control.
EM_SETPASSWORDCHAR
Sets or removes the password character for an edit control. When a password character is set, that character is displayed in place of the characters typed by the user. You can send this message to either an edit control or a rich edit control.
EM_SETREADONLY
Sets or removes the read-only style (ES_READONLY) of an edit control. You can send this message to either an edit control or a rich edit control.
EM_SETRECT
Sets the formatting rectangle of a multiline edit control. The formatting rectangle is the limiting rectangle into which the control draws the text. The limiting rectangle is independent of the size of the edit control window.
This message is processed only by multiline edit controls. You can send this message to either an edit control or a rich edit control.
EM_SETRECTNP
Sets the formatting rectangle of a multiline edit control. The EM_SETRECTNP message is identical to the EM_SETRECT message, except that EM_SETRECTNP does not redraw the edit control window.
The formatting rectangle is the limiting rectangle into which the control draws the text. The limiting rectangle is independent of the size of the edit control window.
This message is processed only by multiline edit controls. You can send this message to either an edit control or a rich edit control.
EM_SETSEL
Selects a range of characters in an edit control. You can send this message to either an edit control or a rich edit control.
EM_SETTABSTOPS
The EM_SETTABSTOPS message sets the tab stops in a multiline edit control. When text is copied to the control, any tab character in the text causes space to be generated up to the next tab stop.
This message is processed only by multiline edit controls. You can send this message to either an edit control or a rich edit control.
EM_SETWORDBREAKPROC
Replaces an edit control's default Wordwrap function with an application-defined Wordwrap function. You can send this message to either an edit control or a rich edit control.
EM_SHOWBALLOONTIP
The EM_SHOWBALLOONTIP message displays a balloon tip associated with an edit control.
EM_TAKEFOCUSIntended for internal use; not recommended for use in applications.
Forces a single-line edit control to receive keyboard focus. You can send this message explicitly or by using the Edit_TakeFocus macro.
EM_UNDO
This message undoes the last edit control operation in the control's undo queue. You can send this message to either an edit control or a rich edit control.
WM_UNDO
An application sends a WM_UNDO message to an edit control to undo the last operation. When this message is sent to an edit control, the previously deleted text is restored or the previously added text is deleted.