03-21-2007 02:10 AM
03-21-2007 03:15 AM
Hello Subrata,
the events are defined in the file userint.h, starting from line 1461. There, you can see that 8 is EVENT_GOT_FOCUS and 9 is EVENT_LOST_FOCUS. These events are explained in the CVI Help:
For each event, the control's callback funtion is called only once. Note that one simple action can cause the control's callback function to be called several times. For example, if you left click a button control that is not currently the active control, the callback function will be called with the EVENT_GOT_FOCUS event, then with the EVENT_LEFT_CLICK event, and then with the EVENT_COMMIT event.
I hope this answers all your questions. If not, don't hesitate to reply
03-21-2007 10:04 AM