void DiscardProgressPanel ( int hProgressHandle ) { if ( hProgressHandle > 0 ) { RemovePopup (0); DiscardPanel ( hProgressHandle ); } }
int CVICALLBACK ConfigExit (int panel, int event, void *callbackData, int eventData1, int eventData2) { switch (event) { case EVENT_CLOSE: RemovePopup (configHandle); break; } return 0; }
int CVICALLBACK ViewExit (int panel, int event, void *callbackData, int eventData1, int eventData2) { switch (event) { case EVENT_CLOSE: RemovePopup (outputHandle); if (outputHandle) { DiscardPanel (outputHandle); } break; } return 0; }
int CVICALLBACK Item_Exit (int panel, int event, void *callbackData, int eventData1, int eventData2) { switch (event) { case EVENT_CLOSE: if((Initial(1, 1)>=0) && (Initial(2, 1)>=0) && (Initial(3, 1)>=0)) // write file type inforamtion to config.ini { RemovePopup (itemHandle); } else { SetLed("Write file type or filter information from UI to config.ini error,please try again!",0); } break; } return 0; }