2.2.6.13 Edit


Name

Edit

Remark

The Edit class provides the functionality of an edit control. An edit control is a rectangular child window in which the user can enter text.

Hierarchy

Examples

Header to Include

Control.h

Reference

Members

Name Brief Example
Edit
GetContentFilter Get the ID of mask type
GetLineCount Examples
GetSel Call this function to retrieve the bounds of the current selection. Examples
GetSelText Gets the text of the current selection in this Edit control
LineFromChar Examples
LineIndex Get index of first character in a line Examples
LineLength Examples
ReplaceSel Replaces the current selection in this Edit control with specified text. Examples
SetContentFilter set user input restrict to some conditions,such as only allow uint/unsigned/double etc.
SetCueBanner Sets the text that is displayed as the text cue, or tip, in an edit control when the control is empty.
SetSel Call this function to set the selection in the Edit control Examples

Property

Name Brief Example
ReadOnly Set edit control's read-only property.