mGNCS API Reference  v1.5.0
A new control set and a new framework for MiniGUI apps
Data Structures | Macros | Enumerations | Variables
mSlEdit

Data Structures

struct  mSlEdit
 the single line control, derived from mEdit. More...
 
struct  mSlEditClass
 the VTable of mSlEdit, derived from mEditClass. More...
 
struct  mSlEditRenderer
 SlEdit class's Renderer interface, derived from mEditRenderer. More...
 

Macros

#define NCSS_SLEDIT_PASSWORD   (0x0001L<<NCSS_EDIT_SHIFT)
 Displays an asterisk (*) for each character typed into the edit control. More...
 
#define NCSS_SLEDIT_AUTOSELECT   (0x0002L<<NCSS_EDIT_SHIFT)
 Selects all text when getting focus. More...
 

Enumerations

enum  mSlEditProp { NCSP_SLEDIT_TIPTEXT = NCSP_EDIT_MAX + 1, NCSP_SLEDIT_PWDCHAR }
 
enum  mSlEditNotify { NCSN_SLEDIT_CHANGE = NCSN_EDIT_CHANGE, NCSN_SLEDIT_ENTER = NCSN_ITEMV_ENTER }
 

Variables

MGNCS_EXPORT mSlEditClass g_stmSlEditCls
 the instance of mSlEditClass More...
 

Detailed Description

Macro Definition Documentation

◆ NCSS_SLEDIT_AUTOSELECT

#define NCSS_SLEDIT_AUTOSELECT   (0x0002L<<NCSS_EDIT_SHIFT)

Selects all text when getting focus.

Definition at line 193 of file msledit.h.

◆ NCSS_SLEDIT_PASSWORD

#define NCSS_SLEDIT_PASSWORD   (0x0001L<<NCSS_EDIT_SHIFT)

Displays an asterisk (*) for each character typed into the edit control.

Definition at line 187 of file msledit.h.

Enumeration Type Documentation

◆ mSlEditNotify

SlEdit Notify Code :

Enumerator
NCSN_SLEDIT_CHANGE 

content changed

NCSN_SLEDIT_ENTER 

enter key pressed

Definition at line 212 of file msledit.h.

◆ mSlEditProp

SlEdit Property define :

Enumerator
NCSP_SLEDIT_TIPTEXT 

tip text , Type : char*

NCSP_SLEDIT_PWDCHAR 

password character , Type : char

Definition at line 204 of file msledit.h.

Variable Documentation

◆ g_stmSlEditCls

g_stmSlEditCls

the instance of mSlEditClass

See also
mSlEditClass