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

📄 icadentproptabs.h

📁 mtext,编辑器,支持潜入对象
💻 H
📖 第 1 页 / 共 3 页
字号:
    public:
		BOOL	ent_Pick;
		int		iTmp;
		CString	csTmp;
		int validationFailure;
		ent_IMAGE_TAB() ;
		BOOL OnInitDialog();
		virtual void OnOK();
		BOOL validate(int value,int ID);

	protected:
		virtual void OnCancel();
        afx_msg void ent_OnPick();
		afx_msg void OnSpinImageOPx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinImageOPy(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinImageOPz(NMHDR *pNotifyStruct,LRESULT *result);
		afx_msg void OnSpinImageBrightness(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinImageContrast(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinImageFade(NMHDR *pNotifyStruct,LRESULT *result);
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};
//Modified Cybage MM 24-09-2001 DD-MM-YYYY ]

class ent_INSERT_TAB : public CDialog
{
    public:
		int		iTmp;
		CString	csTmp;
		BOOL	ent_Pick;

        ent_INSERT_TAB();
        BOOL OnInitDialog();

    protected:
        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void ent_OnPick();
        afx_msg void OnSpinCol(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinRow(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinRowSpace(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinColSpace(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinIpx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinIpy(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinIpz(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinSfx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinSfy(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinSfz(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinRot(NMHDR *pNotifyStruct,LRESULT *result);
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};


class ent_LEADER_TAB : public CDialog
{
    public:
		ent_EntCodes	*pLedbb, *pLcur;
		int				iTmp, LedCurCnt, LedTot;
		CString			csTmp;
		BOOL			ent_Pick;

        ent_LEADER_TAB();
        BOOL OnInitDialog();

    protected:
        struct resbuf ucs,wcs;
        int ddxStart,ddxEnd;
                void LoadLed();
                void GreyLed();
        afx_msg void OnLedNext();
        afx_msg void OnLedPrev();
                void Count();
        virtual void OnOK();
        virtual void OnCancel();
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg void OnSpinLed(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinX(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinY(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinZ(NMHDR *pNotifyStruct,LRESULT *result);
		// Bugzilla No. 78001; 18/03/2002
		afx_msg void ent_DimSettings();
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};


class ent_LINE_TAB : public CDialog
{
    public:
		int		iTmp;
		CString	csTmp;
		BOOL	ent_Pick1, ent_Pick2;

        ent_LINE_TAB();
        BOOL OnInitDialog();

    protected:
        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void ent_OnPick1();
        afx_msg void ent_OnPick2();
        afx_msg void OnSpinStx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinSty(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinStz(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinEdx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinEdy(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinEdz(NMHDR *pNotifyStruct,LRESULT *result);
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};


class ent_MLINE_TAB : public CDialog
{
    public:
		int		iTmp;
		CString	csTmp;

        ent_MLINE_TAB();
        BOOL OnInitDialog();

    protected:
        virtual void OnOK();
        virtual void OnCancel();
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};

//gaowen NO2003-11-17-16:42[
#define SetAndGet_mGenColor_Message  WM_USER+213
//gaowen NO2003-11-17-16:42]
class ent_MTEXT_TAB : public CDialog
{
    public:
		BOOL	ent_Pick;
		int		iTmp;
		CString	csTmp;

        ent_MTEXT_TAB();
        BOOL OnInitDialog();

   protected:
		afx_msg void OnEditMText();
        afx_msg void OnSpinX(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinY(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinZ(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinWid(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinHigh(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinRot(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void ent_OnPick();
		void DoMTextDlg();
                void ent_StyleChoice();
        virtual void OnOK();
        virtual void OnCancel();
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);
		void		 FillCombo();

    DECLARE_MESSAGE_MAP()
};


class ent_PLINE_TAB : public CDialog
{
    public:
		int			iTmp;
		double		dOrgX, dOrgY, dOrgZ, dOrg40, dOrg41, dOrg42;
		long		lVertNum, lVertTot;
		cmd_elistll *pCurV;
		resbuf		*pRb, rbent, rbucs;
		CString		csTmp;
		BOOL		ent_Pick;

        ent_PLINE_TAB() ;
        BOOL OnInitDialog();
        void DisableSomeThings();
        void LoadVertex();
        void GrabVert();
        void GrabElev();
        void CountVertex();
        void DisableVertex();
        void OnNextSub(int increment);
        void OnPrevSub(int increment);

    protected:
        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void ent_OnPick();
        afx_msg void OnNext();
        afx_msg void OnPrev();
        afx_msg void OnSpinPlineElev(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineX(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineY(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineZ(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineST(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineED(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineBulge(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnVSpin(NMHDR *pNotifyStruct,LRESULT *result);
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};


#include <vector>
using std::vector;

struct PlineVertex
{
	sds_point	vertex;
	sds_real	startWidth;
	sds_real	endWidth;
	sds_real	bulge;
};

class ent_LWPLINE_TAB : public CDialog
{
    public:
        BOOL ent_Pick;

        ent_LWPLINE_TAB();
        void GetVertex();
        void GrabElev();
		void SelectVertex( sds_point);


    protected:
		bool				vertexLoaded;
		vector<PlineVertex>	vertexArray;
        int				iTmp;
        double			dOrgX, dOrgY, dOrgZ, dOrg40, dOrg41, dOrg42;
        long			lVertNum, lVertTot;
        cmd_elistll*	pCurV;
        resbuf			*pRb, rbent, rbucs;
        CString			csTmp;

		void AssertValid() const;
        BOOL OnInitDialog();
        void DisableSomeThings();
		void GetVertexArray();
		void SaveVertexArray();
		void ChangeVertex( int n);
		void DisplayVertex();
        PlineVertex LoadVertex( sds_resbuf *&);
        void DisableVertex();
        void OnNextSub(int increment);
        void OnPrevSub(int increment);

        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void ent_OnPick();
        afx_msg void OnNext();
        afx_msg void OnPrev();
        afx_msg void OnSpinPlineElev(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineX(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineY(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineZ(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineST(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineED(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinPlineBulge(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnVSpin(NMHDR *pNotifyStruct,LRESULT *result);
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};


class ent_POINT_TAB : public CDialog
{
    public:
		int		iTmp;
		CString	csTmp;
		BOOL	ent_Pick;

        ent_POINT_TAB();
        BOOL OnInitDialog();

    protected:
        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void ent_OnPick();
        afx_msg void OnSpinPointAng(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinCpx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinCpy(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinCpz(NMHDR *pNotifyStruct,LRESULT *result);
        virtual void DoDataExchange(CDataExchange *pDX);
        afx_msg BOOL OnHelpInfo(HELPINFO *pHel);

    DECLARE_MESSAGE_MAP()
};


class ent_RAY_TAB : public CDialog
{
    public:
		int		iTmp;
		CString	csTmp;
		BOOL	ent_Pick1, ent_Pick2;

        ent_RAY_TAB();
        BOOL OnInitDialog();

    protected:
        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void ent_OnPick1();
        afx_msg void ent_OnPick2();
        afx_msg void OnSpinStx(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinSty(NMHDR *pNotifyStruct,LRESULT *result);
        afx_msg void OnSpinStz(NMHDR *pNotifyStruct,LRESULT *result);

⌨️ 快捷键说明

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