www.pudn.com > LabWindowsCVI.rar > sample13.h


/**************************************************************************/ 
/* LabWindows/CVI User Interface Resource (UIR) Include File              */ 
/* Copyright (c) National Instruments 2002. All Rights Reserved.          */ 
/*                                                                        */ 
/* WARNING: Do not add to, delete from, or otherwise modify the contents  */ 
/*          of this include file.                                         */ 
/**************************************************************************/ 
 
#include  
 
#ifdef __cplusplus 
    extern "C" { 
#endif 
 
     /* Panels and Controls: */ 
 
#define  PANEL                           1       /* callback function: PanelCallback */ 
#define  PANEL_QUIT                      2       /* callback function: QuitCallback */ 
#define  PANEL_CREATE                    3       /* callback function: CreateCallback */ 
#define  PANEL_TERMINATE                 4       /* callback function: TerminateCallback */ 
#define  PANEL_RING                      5       /* callback function: RingCallback */ 
#define  PANEL_RESUMEORSUSPEND           6       /* callback function: ResumeOrSuspendCallback */ 
#define  PANEL_DECORATION                7 
 
 
     /* Menu Bars, Menus, and Menu Items: */ 
 
          /* (no menu bars in the resource file) */ 
 
 
     /* Callback Prototypes: */  
 
int  CVICALLBACK CreateCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK PanelCallback(int panel, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK ResumeOrSuspendCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK RingCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK TerminateCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
 
 
#ifdef __cplusplus 
    } 
#endif