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

📄 basic.h

📁 Bentley Microstation的二次开发工具MDL的学习源代码
💻 H
字号:
/*----------------------------------------------------------------------+
|									|
|  Copyright (1993-1995) Bentley Systems, Inc., All rights reserved.	|
|									|
|  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"	|
|  are trademarks of Bentley Systems, Inc.			    	|
|									|
|  Limited permission is hereby granted to reproduce and modify this	|
|  copyrighted material provided that the resulting code is used only 	|
|  in conjunction with Bentley Systems products under the terms of the	|
|  license agreement provided therein, and that this notice is retained	|
|  in its entirety in any such reproduction or modification.		|
|									|
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
|									|
|    $Logfile:   J:/mdl/examples/basic/basic.h_v  $
|   $Workfile:   basic.h  $
|   $Revision: 1.1.1.1 $
|   	$Date: 1998/07/27 18:19:10 $
|									|
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
|									|
|   Function -								|
|									|
|	Constants & types used in basic dialog example			|
|									|
+----------------------------------------------------------------------*/
#ifndef	    __basicH__
#define	    __basicH__

/*----------------------------------------------------------------------+
|									|
|   Resource ID's							|
|									|
+----------------------------------------------------------------------*/
#define	DIALOGID_Basic		1   /* dialog id for Basic Dialog */
#define DIALOGID_BasicModal	2   /* dialog id for Basic Modal Dialog */

#define OPTIONBUTTONID_Basic	1   /* id for "parameter 1" option button */
#define PUSHBUTTONID_OModal	1   /* id for "Open Modal" push button */
#define	TEXTID_Basic		1   /* id for "parameter 1" text item */
#define TOGGLEID_Basic		1   /* id for "Inc parameter 1?" toggle */

#define SYNONYMID_Basic		1   /* id for synonym resource */

#define MESSAGELISTID_BasicErrors   1	/* id for errors message list */

/*----------------------------------------------------------------------+
|									|
|   Error Message ID Definitions					|
|									|
+----------------------------------------------------------------------*/
#define	ERRID_CommandTable	1
#define	ERRID_BasicDialog	2
#define	ERRID_ModalDialog	3

/*----------------------------------------------------------------------+
|									|
|   Hook Function ID's							|
|									|
+----------------------------------------------------------------------*/
#define HOOKITEMID_ToggleButton_Basic	1   /* id for toggle item hook func */
#define HOOKDIALOGID_Basic		2   /* id for dialog hook func */

/*----------------------------------------------------------------------+
|									|
|   Typedefs								|
|									|
+----------------------------------------------------------------------*/
typedef struct basicglobals
    {
    int	parameter1;	    /* used by text & option button item */
    int	parameter2;	    /* used by toggle button item */
    } BasicGlobals;

#endif

⌨️ 快捷键说明

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