MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Notification codes of edit control

Macros

#define EN_CLICKED   0x0001
 Notifies a click in an edit control. More...
 
#define EN_DBLCLK   0x0002
 Notifies a double click in an edit control. More...
 
#define EN_SETFOCUS   0x0100
 Notifies the receipt of the input focus. More...
 
#define EN_KILLFOCUS   0x0200
 Notifies the lost of the input focus. More...
 
#define EN_CHANGE   0x0300
 Notifies that the text is altered by the user. More...
 
#define EN_UPDATE   0x0400
 Notifies that the text is altered by sending MSG_SETTEXT TEM_RESETCONTENT, or EM_SETLINEHEIGHT message to it. More...
 
#define EN_MAXTEXT   0x0501
 Notifies reach of maximum text limitation. More...
 
#define EN_SELCHANGED   0x0603
 Notifies that the current selection is changed in the text field. More...
 
#define EN_CONTCHANGED   0x0604
 Notifies that the current content is changed in the text field when text edit losts focus. More...
 
#define EN_ENTER   0x0700
 Notifies the user has type the ENTER key in a single-line edit control. More...
 

Detailed Description

Macro Definition Documentation

◆ EN_CHANGE

#define EN_CHANGE   0x0300

Notifies that the text is altered by the user.

An edit control sends the EN_CHANGE notification code when the user takes an action that may have altered text in an edit control.

Definition at line 1251 of file edit.h.

◆ EN_CLICKED

#define EN_CLICKED   0x0001

Notifies a click in an edit control.

An edit control sends the EN_CLICKED notification code when the user clicks in an edit control.

Definition at line 1215 of file edit.h.

◆ EN_CONTCHANGED

#define EN_CONTCHANGED   0x0604

Notifies that the current content is changed in the text field when text edit losts focus.

Definition at line 1292 of file edit.h.

◆ EN_DBLCLK

#define EN_DBLCLK   0x0002

Notifies a double click in an edit control.

An edit control sends the EN_CLICKED notification code when the user double clicks in an edit control.

Definition at line 1224 of file edit.h.

◆ EN_ENTER

#define EN_ENTER   0x0700

Notifies the user has type the ENTER key in a single-line edit control.

Definition at line 1298 of file edit.h.

◆ EN_KILLFOCUS

#define EN_KILLFOCUS   0x0200

Notifies the lost of the input focus.

The EN_KILLFOCUS notification code is sent when an edit control loses the input focus.

Definition at line 1242 of file edit.h.

◆ EN_MAXTEXT

#define EN_MAXTEXT   0x0501

Notifies reach of maximum text limitation.

The EN_MAXTEXT notification message is sent when the current text insertion has exceeded the specified number of characters for the edit control.

Definition at line 1273 of file edit.h.

◆ EN_SELCHANGED

#define EN_SELCHANGED   0x0603

Notifies that the current selection is changed in the text field.

Definition at line 1285 of file edit.h.

◆ EN_SETFOCUS

#define EN_SETFOCUS   0x0100

Notifies the receipt of the input focus.

The EN_SETFOCUS notification code is sent when an edit control receives the input focus.

Definition at line 1233 of file edit.h.

◆ EN_UPDATE

#define EN_UPDATE   0x0400

Notifies that the text is altered by sending MSG_SETTEXT TEM_RESETCONTENT, or EM_SETLINEHEIGHT message to it.

An edit control sends the EN_UPDATE notification code when the control received MSG_SETTEXT, TEM_RESETCONTENT, or EM_SETLINEHEIGHT message.

Note that this notification will occured when you call SetWindowText or SetDlgItemText function on the control.

Definition at line 1264 of file edit.h.