瀏覽代碼

cmUiDrvr.h:Added kSendXXX flags.

master
kevin 11 年之前
父節點
當前提交
7e6c7965fd
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      cmUiDrvr.h

+ 6
- 0
cmUiDrvr.h 查看文件

@@ -84,6 +84,7 @@ extern "C" {
84 84
     kPrependUiFl   = 0x00000800,
85 85
     kClearUiFl     = 0x00001000, // clear all ele' from a list or menu
86 86
 
87
+    // Alignment flags
87 88
     kLeftUiFl      = 0x00002000,
88 89
     kTopUiFl       = 0x00004000,
89 90
     kRightUiFl     = 0x00008000,
@@ -99,6 +100,11 @@ extern "C" {
99 100
 
100 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…
取消
儲存