⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msgdemo.h

📁 labwindow 编程的toolbox例程。
💻 H
字号:
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 2006. 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  MAINPNL                         1       /* callback function: MainPanelCB */
#define  MAINPNL_POSTMSGTOSECOND         2       /* callback function: SendMessageToSecondCB */
#define  MAINPNL_BITMAP                  3
#define  MAINPNL_WPARAMSEND              4
#define  MAINPNL_LPARAMSEND              5
#define  MAINPNL_WPARAMRCV               6
#define  MAINPNL_LPARAMRCV               7
#define  MAINPNL_MESSAGE_2               8
#define  MAINPNL_MESSAGE                 9
#define  MAINPNL_NUMDROPPED              10
#define  MAINPNL_FILENAMES               11
#define  MAINPNL_QUIT                    12      /* callback function: QuitCallback */
#define  MAINPNL_DECORATION              13
#define  MAINPNL_DECORATION_2            14
#define  MAINPNL_DECORATION_4            15
#define  MAINPNL_TEXTMSG                 16
#define  MAINPNL_TEXTMSG_2               17

#define  SCNDPNL                         2
#define  SCNDPNL_POSTMSG                 2       /* callback function: PostMessageToMainCB */
#define  SCNDPNL_WPARAMRCV               3
#define  SCNDPNL_LPARAMRCV               4
#define  SCNDPNL_MESSAGE_2               5
#define  SCNDPNL_MESSAGE                 6
#define  SCNDPNL_WPARAMSEND              7
#define  SCNDPNL_LPARAMSEND              8
#define  SCNDPNL_DECORATION              9
#define  SCNDPNL_DECORATION_2            10
#define  SCNDPNL_TEXTMSG                 11
#define  SCNDPNL_TEXTMSG_2               12


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

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


     /* Callback Prototypes: */ 

int  CVICALLBACK MainPanelCB(int panel, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK PostMessageToMainCB(int panel, int control, 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 SendMessageToSecondCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif

⌨️ 快捷键说明

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