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

📄 axcircle.h

📁 vc++ acticex原代码
💻 H
字号:
#if !defined(AFX_AXCIRCLE_H__0D9C9264_5E70_11D4_A54D_0050BADB14A3__INCLUDED_)
#define AFX_AXCIRCLE_H__0D9C9264_5E70_11D4_A54D_0050BADB14A3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AxCircle.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// CAxCircle command target

class CAxCircle : public CCmdTarget
{
	DECLARE_DYNCREATE(CAxCircle)

	CAxCircle();           // protected constructor used by dynamic creation

// Attributes
public:

private:
	long	m_iRadius;
	short	m_iRed;
	short	m_iGreen;
	short	m_iBlue;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAxCircle)
	public:
	virtual void OnFinalRelease();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CAxCircle();

	// Generated message map functions
	//{{AFX_MSG(CAxCircle)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
	DECLARE_OLECREATE(CAxCircle)

	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(CAxCircle)
	afx_msg long GetRadius();
	afx_msg void SetRadius(long nNewValue);
	afx_msg short GetRed();
	afx_msg void SetRed(short nNewValue);
	afx_msg short GetGreen();
	afx_msg void SetGreen(short nNewValue);
	afx_msg short GetBlue();
	afx_msg void SetBlue(short nNewValue);
	afx_msg void DrawCircle(long lDC);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AXCIRCLE_H__0D9C9264_5E70_11D4_A54D_0050BADB14A3__INCLUDED_)

⌨️ 快捷键说明

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