傳給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
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.