Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
MyDefine.h
Package: MiniCAD_ALL.zip [view]
Upload User: netltd
Upload Date: 2013-02-12
Package Size: 7234k
Code Size: 2k
Category:
Graph Drawing
Development Platform:
Visual C++
- //当前任务代号
- #define NEW_PROJECT 1
- #define NEW_FILE 2
- #define NEW_NONE -1
- //项目文件后缀
- #define PROJECT_POSTFIX prj
- //图纸文件后缀
- #define DRAWING_POSTFIX drg
- #define RECENTFILELIST_NUM 4 //MRU文件列表项数目
- #define A0_SIZE_INDEX 0
- #define A1_SIZE_INDEX 1
- #define A2_SIZE_INDEX 2
- #define A3_SIZE_INDEX 3
- #define A4_SIZE_INDEX 4
- #define EXTRA_WIDTH 100 // 为方便绘图额外增加的窗口宽度
- #define EXTRA_HIGTH 100 // 为方便绘图额外增加的窗口高度
- #define SELECT_RECT_WIDTH 3
- #define SELECT_RANGE 3 //选择对象时的选中范围
- /*图形对象代号*/
- #define OBJECT_LINE 310
- #define OBJECT_RECT 320
- #define OBJECT_CIRCLE 330
- #define OBJECT_ARC 340
- #define OBJECT_TEXT 350
- /*消息代号*/
- #define MESSAGE_MIN 9000
- #define MESSAGE_LBUTTONDOWN 9010
- #define MESSAGE_RBUTTONDOWN 9020
- #define MESSAGE_MOUSEMOVE 9030
- #define MESSAGE_SCROLL 9040
- #define MESSAGE_MAX 9200
- /*绘图命令代号*/
- #define NO_COMMAND 0 //无任何命令
- #define DRAW_MIN 1000
- #define DRAW_SELECT 1010
- #define DRAW_LINE 1020
- #define DRAW_RECT 1030
- #define DRAW_CIRCLE 1040
- #define DRAW_ARC 1050
- #define DRAW_TEXT 1060
- #define DRAW_MULTILINE 1070
- #define DRAW_POLYGON 1090
- #define DRAW_ELLIPSE 1100
- #define DRAW_DOT 1110
- #define DRAW_DEFINELINE 1120
- #define DRAW_CURVE 1130
- #define DRAW_MAX 1200
- /*修改命令代号*/
- #define MODIFY_MIN 1300
- #define MODIFY_DELETE 1310
- #define MODIFY_MAX 1500