2-7.h

来自「cvi编程举例」· C头文件 代码 · 共 40 行

H
40
字号
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 2011. All Rights Reserved.          */
/*                                                                        */
/* WARNING: Do not add to, delete from, or otherwise modify the contents  */
/*          of this include file.                                         */
/**************************************************************************/

#include <userint.h>

#ifdef __cplusplus
    extern "C" {
#endif

     /* Panels and Controls: */

#define  CHILD                            1
#define  CHILD_PICTUREBUTTON              2

#define  PANEL                            2
#define  PANEL_SHOW                       2       /* callback function: ShowHidePanel */
#define  PANEL_HIDE                       3       /* callback function: ShowHidePanel */
#define  PANEL_QUIT                       4       /* callback function: ShutOFF */


     /* Menu Bars, Menus, and Menu Items: */

          /* (no menu bars in the resource file) */


     /* Callback Prototypes: */ 

int  CVICALLBACK ShowHidePanel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ShutOFF(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?