MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
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

#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 1240 of file edit.h.

#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 1204 of file edit.h.

#define EN_CONTCHANGED   0x0604

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

Definition at line 1281 of file edit.h.

#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 1213 of file edit.h.

#define EN_ENTER   0x0700

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

Definition at line 1287 of file edit.h.

#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 1231 of file edit.h.

#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 1262 of file edit.h.

#define EN_SELCHANGED   0x0603

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

Definition at line 1274 of file edit.h.

#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 1222 of file edit.h.

#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 1253 of file edit.h.