From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



傳給Callbacks的Events跟它們相對應的數字



主要軟體:
主要軟體版本: 6.0
主要軟體修正版本: N/A
次要軟體:

問題: 在CVI裡, 可傳給callbacks函式的events跟它們相對應的數值是什麼?

解答: userint.h檔, 在Measurement Studio\CVI\include檔案夾裡, 有所有callbacks函式的events. 以下就是所有可呼叫的events.

EVENT_NONE 0
EVENT_COMMIT 1
EVENT_VAL_CHANGED 2
EVENT_LEFT_CLICK 3
EVENT_LEFT_DOUBLE_CLICK 4
EVENT_RIGHT_CLICK 5
EVENT_RIGHT_DOUBLE_CLICK 6
EVENT_KEYPRESS 7
EVENT_GOT_FOCUS 8
EVENT_LOST_FOCUS 9
EVENT_IDLE 10
EVENT_CLOSE 11
EVENT_PANEL_SIZE 12
EVENT_PANEL_MOVE 13
EVENT_END_TASK 14
EVENT_TIMER_TICK 15
EVENT_DISCARD 16



相關連結:

附加檔案:





報告日期: 05/15/2002
最後更新: 03/11/2004
文件偏號: 2LE7H5MT