Browse Source

cmUiDrvr.h:Added kSendXXX flags.

master
kevin 11 years ago
parent
commit
7e6c7965fd
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      cmUiDrvr.h

+ 6
- 0
cmUiDrvr.h View File

84
     kPrependUiFl   = 0x00000800,
84
     kPrependUiFl   = 0x00000800,
85
     kClearUiFl     = 0x00001000, // clear all ele' from a list or menu
85
     kClearUiFl     = 0x00001000, // clear all ele' from a list or menu
86
 
86
 
87
+    // Alignment flags
87
     kLeftUiFl      = 0x00002000,
88
     kLeftUiFl      = 0x00002000,
88
     kTopUiFl       = 0x00004000,
89
     kTopUiFl       = 0x00004000,
89
     kRightUiFl     = 0x00008000,
90
     kRightUiFl     = 0x00008000,
99
 
100
 
100
     kNoReflectUiFl = 0x01000000, // do not reflect event to the client
101
     kNoReflectUiFl = 0x01000000, // do not reflect event to the client
101
     
102
     
103
+    // When to send text fields
104
+    kSendChangeFl  = 0x10000000, // whenever text changes
105
+    kSendEnterFl   = 0x20000000, // when enter key is pressed (and changed or not-changed)
106
+    kSendFocusFl   = 0x40000000, // when ctl loses focus
107
+    kSendNoChangeFl= 0x80000000  // on enter even if no-change 
102
   };
108
   };
103
 
109
 
104
 
110
 

Loading…
Cancel
Save