|
|
Block-shaped caret.
|
|
|
Line-shaped caret.
|
|
|
Changes the shape of the caret.
EM_CHANGECARETSHAPE int caret_shape; wParam = (WPARAM)caret_shape; lParam = 0;
|
|
|
Copies the currently selected text to the clipboard.
EM_COPYTOCB wParam = 0; lParam = 0
|
|
|
Cuts the currently selected text to the clipboard.
EM_CUTTOCB wParam = 0; lParam = 0
|
|
|
To enable or disable the input caret.
EM_ENABLECARET BOOL bEnable; wParam = (WPARAM)bEnable; lParam = 0;
|
|
|
Gets the position of the caret.
EM_GETCARETPOS int* line_pos; int* char_pos; wParam = (WPARAM)line_pos; lParam = (LPARAM)char_pos;
|
|
|
Get text limit value of the edit control.
|
|
|
Gets the line number.
EM_GETLINECOUNT wParam = 0; lParam = 0;
|
|
|
Gets the height of a line.
EM_GETLINEHEIGHT wParam = 0; lParam = 0;
|
|
|
Get text limit of a single-line edit control.
|
|
|
Returns the character that edit controls uses in conjunction with the ES_PASSWORD style.
EM_GETPASSWORDCHAR wParam = 0; lParam = 0;
|
|
|
Gets the selected string in the edit control.
|
|
|
Gets the position of the selection point.
EM_GETSELPOS int* line_pos; int* char_pos; wParam = (WPARAM)line_pos; lParam = (LPARAM)char_pos;
|
|
|
Gets the tip text displayed when content is empty.
EM_GETTIPTEXT const char *buffer; int len; wParam = (WPARAM)len; lParam = (LPARAM)buffer;
|
|
|
Gets the title text displayed before content text.
EM_GETTITLETEXT const char *buffer; int len; wParam = (WPARAM)len; lParam = (LPARAM)buffer;
|
|
|
Inserts the text in the clipboard to the current caret position.
EM_INSERTCBTEXT int len; const char *string; wParam = (WPARAM)len; lParam = (LPARAM)string;
|
|
|
Inserts the specified text to the current caret position. Normally used to input a long string.
EM_INSERTTEXT int len; const char *string; wParam = (WPARAM)len; lParam = (LPARAM)string;
|
|
|
Set text limit of an edit control.
EM_LIMITTEXT int newLimit; wParam = (WPARAM)newLimit; lParam = 0;
|
|
|
Redo operation.
wParam = 0; lParam = 0; |
|
|
Refresh caret of the edit control.
|
|
|
Selects all the texts, the same meaning as ctrl+a.
EM_SELECTALL wParam = 0; lParam = 0; |
|
|
Sets the position of the caret.
EM_SETCARETPOS int line_pos; int char_pos; wParam = (WPARAM)line_pos; lParam = (LPARAM)char_pos;
|
|
|
Sets the callback function on drawing selected chars.
EM_SETDRAWSELECTFUNC ED_DRAWSEL_FUNC drawsel; wParam = 0; lParam = (LPARAM)drawsel;
|
|
|
Sets the callback function on getting caret width.
EM_SETGETCARETWIDTHFUNC int (*get_caret_width) (HWND, int); wParam = 0; lParam = (LPARAM)get_caret_width;
|
|
|
|
|
|
Sets the char used to represent the line seperator. In default case, the line sperator will not be shown. If the char used to represent the line seperator is not zero, this char will be shown in place of line seperator.
EM_SETLFDISPCHAR unsigned char ch; wParam = 0; lParam = ch;
|
|
|
|
|
|
Sets the height of a line.
EM_SETLINEHEIGHT wParam = (WPARAM)height; lParam = 0;
|
|
|
Sets the line seperator.
In default case, the line sperator is '
EM_SETLINESEP unsigned char ch; wParam = 0; lParam = ch;
|
|
|
Defines the character that edit control uses in conjunction with the ES_PASSWORD style.
EM_SETPASSWORDCHAR char passwdChar; wParam = (WPARAM)passwdChar; lParam = 0; |
|
|
Sets or removes the read-only style (ES_READONLY) in an edit control.
EM_SETREADONLY int readonly; wParam = (WPARAM)readonly; lParam = 0;
|
|
|
Sets the selected point in the edit control and makes the text between insertion point and selection point selected. Generally, you should send EM_SETCARETPOS first to set insertion point before you use EM_SETSEL to select text.
|
|
|
|
|
|
Sets the tip text displayed when content is empty.
EM_SETTIPTEXT const char *buffer; int len; wParam = (WPARAM)len; lParam = (LPARAM)buffer; |
|
|
Sets the title text displayed before content text.
EM_SETTITLETEXT const char *title; int len; wParam = (WPARAM)len; lParam = (LPARAM)title;
|
|
|
Undo operation.
wParam = 0; lParam = 0; |
|
|
Type of the edit control callback function on drawing selected strings.
|
1.4.2