#pragma once


#define RQSAVE  14 
#define RQEND   15 
#define RQQUIT  16 
#define RQCFG   22


#define RQXLOAD 100 
#define RQXUNLD 101
#define RQSUBR  102
#define RQHUP   105
#define RQXHELP 118


#define RSRSLT   1 
#define RSERR    3

#define RTNONE    5000
#define RTREAL    5001 
#define RTPOINT   5002
#define RTSHORT   5003
#define RTANG     5004
#define RTSTR     5005 
#define RTENAME   5006 
#define RTPICKS   5007 
#define RTORINT   5008 
#define RT3DPOINT 5009 
#define RTLONG    5010
#define RTVOID    5014
#define RTLB      5016 
#define RTLE      5017
#define RTDOTE    5018 
#define RTNIL     5019
#define RTDXF0    5020
#define RTT       5021
#define RTRESBUF  5023

// -------------------------------------------------------------------------
// Summary:
// 		返回成功
// -------------------------------------------------------------------------
#define RTNORM    5100 
 

#define RTSELEMPYT 5101		/*选择为空*/

//old ID类型 
#define RTId				-8000 /* id */
#define RTHardOwnershipId	-8001
#define RTSoftOwnershipId   -8002
#define RTHardPointerId		-8003
#define RTSoftPointerId		-8004

// 对象指针类型，这个目录只在MxDrawX中的CAutoMxDrawResbuf中使用.
#define RTMxObject -8500

//存放xData　数据使用。
#define RTXDataBegin        -9000
#define RTXDataAppName      -9001
#define RTXDataEnd          -9002

#define RTERROR          (-5001)
#define RTCAN            (-5002)
#define RTREJ            (-5003)
#define RTFAIL           (-5004)
#define RTKWORD          (-5005)
#define RTINPUTTRUNCATED (-5008) 
 

#ifndef WM_MCAD_KEEPFOCUS

#ifndef WM_USER
#define WM_MCAD_KEEPFOCUS (0x0400+0x6D02)
#else
#define WM_MCAD_KEEPFOCUS (WM_USER+0x6D02)
#endif 

#endif

