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

📄 bullctl.h

📁 讲mfc的书
💻 H
字号:
// BullCtl.h : Declaration of the CBullCtrl OLE control class.

/////////////////////////////////////////////////////////////////////////////
// CBullCtrl : See BullCtl.cpp for implementation.

class CBullCtrl : public COleControl
{
	DECLARE_DYNCREATE(CBullCtrl)

// Constructor
public:
	CBullCtrl();

// Overrides

	// Drawing function
	virtual void OnDraw(
				CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);

	// Persistence
	virtual void DoPropExchange(CPropExchange* pPX);

	// Reset control state
	virtual void OnResetState();

// Implementation
protected:
	~CBullCtrl();

	DECLARE_OLECREATE_EX(CBullCtrl)    // Class factory and guid
	DECLARE_OLETYPELIB(CBullCtrl)      // GetTypeInfo
	DECLARE_PROPPAGEIDS(CBullCtrl)     // Property page IDs
	DECLARE_OLECTLTYPE(CBullCtrl)		// Type name and misc status

// Message maps
	//{{AFX_MSG(CBullCtrl)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Dispatch maps
	//{{AFX_DISPATCH(CBullCtrl)
	short m_step;
	afx_msg void OnStepChanged();
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

// Event maps
	//{{AFX_EVENT(CBullCtrl)
	//}}AFX_EVENT
	DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CBullCtrl)
	dispidStep = 1L,
	//}}AFX_DISP_ID
	};
};

⌨️ 快捷键说明

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