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

📄 ceeditctl.h

📁 一个wince下控件
💻 H
字号:
#if !defined(AFX_CEEDITCTL_H__D8656D67_FA30_4C91_8CFA_1BB6D75CE559__INCLUDED_)
#define AFX_CEEDITCTL_H__D8656D67_FA30_4C91_8CFA_1BB6D75CE559__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

// CEEditCtl.h : Declaration of the CCEEditCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CCEEditCtrl : See CEEditCtl.cpp for implementation.

class CCEEditCtrl : public COleControl
{
	DECLARE_DYNCREATE(CCEEditCtrl)

// Constructor
public:
	CCEEditCtrl();
	CDrawEdit m_edit;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCEEditCtrl)
	public:
	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
	virtual void DoPropExchange(CPropExchange* pPX);
	virtual void OnResetState();
	//}}AFX_VIRTUAL

// Implementation
protected:
	~CCEEditCtrl();

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

// Message maps
	//{{AFX_MSG(CCEEditCtrl)
		// NOTE - ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Dispatch maps
	//{{AFX_DISPATCH(CCEEditCtrl)
	afx_msg BSTR GetFontFaceName();
	afx_msg void SetFontFaceName(LPCTSTR lpszNewValue);
	afx_msg long GetFontWidth();
	afx_msg void SetFontWidth(long nNewValue);
	afx_msg long GetFontHeight();
	afx_msg void SetFontHeight(long nNewValue);
	afx_msg long GetFontEscapement();
	afx_msg void SetFontEscapement(long nNewValue);
	afx_msg long GetFontOrientation();
	afx_msg void SetFontOrientation(long nNewValue);
	afx_msg long GetFontItalic();
	afx_msg void SetFontItalic(long nNewValue);
	afx_msg long GetFontUnderline();
	afx_msg void SetFontUnderline(long nNewValue);
	afx_msg long GetFontStrikeOut();
	afx_msg void SetFontStrikeOut(long nNewValue);
	afx_msg long GetFontCharSet();
	afx_msg void SetFontCharSet(long nNewValue);
	afx_msg long GetFontOutPrecision();
	afx_msg void SetFontOutPrecision(long nNewValue);
	afx_msg long GetFontQuality();
	afx_msg void SetFontQuality(long nNewValue);
	afx_msg long GetFontPitchAndFamily();
	afx_msg void SetFontPitchAndFamily(long nNewValue);
	afx_msg long GetFontWeight();
	afx_msg void SetFontWeight(long nNewValue);
	afx_msg long GetFontClipPrecision();
	afx_msg void SetFontClipPrecision(long nNewValue);
	afx_msg OLE_COLOR GetFrameColor();
	afx_msg void SetFrameColor(OLE_COLOR nNewValue);
	afx_msg long GetFrameStyle();
	afx_msg void SetFrameStyle(long nNewValue);
	afx_msg long GetModel();
	afx_msg void SetModel(long nNewValue);
	afx_msg BSTR GetPictureFileName();
	afx_msg void SetPictureFileName(LPCTSTR lpszNewValue);
	afx_msg long GetBackStyle();
	afx_msg void SetBackStyle(long nNewValue);
	afx_msg OLE_COLOR GetTransparentColor();
	afx_msg void SetTransparentColor(OLE_COLOR nNewValue);
	afx_msg OLE_COLOR GetBackColor();
	afx_msg void SetBackColor(OLE_COLOR nNewValue);
	afx_msg BSTR GetCaption();
	afx_msg void SetCaption(LPCTSTR lpszNewValue);
	afx_msg BOOL GetEnabled();
	afx_msg void SetEnabled(BOOL bNewValue);
	afx_msg OLE_COLOR GetForeColor();
	afx_msg void SetForeColor(OLE_COLOR nNewValue);
	afx_msg OLE_HANDLE GetHWnd();
	afx_msg void SetHWnd(OLE_HANDLE nNewValue);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

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

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CCEEditCtrl)
	dispidFontFaceName = 1L,
	dispidFontWidth = 2L,
	dispidFontHeight = 3L,
	dispidFontEscapement = 4L,
	dispidFontOrientation = 5L,
	dispidFontItalic = 6L,
	dispidFontUnderline = 7L,
	dispidFontStrikeOut = 8L,
	dispidFontCharSet = 9L,
	dispidFontOutPrecision = 10L,
	dispidFontQuality = 11L,
	dispidFontPitchAndFamily = 12L,
	dispidFontWeight = 13L,
	dispidFontClipPrecision = 14L,
	dispidFrameColor = 15L,
	dispidFrameStyle = 16L,
	dispidModel = 17L,
	dispidPictureFileName = 18L,
	dispidBackStyle = 19L,
	dispidTransparentColor = 20L,
	dispidBackColor = 21L,
	dispidCaption = 22L,
	dispidEnabled = 23L,
	dispidForeColor = 24L,
	dispidHWnd = 25L,
	//}}AFX_DISP_ID
	};
};

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

#endif // !defined(AFX_CEEDITCTL_H__D8656D67_FA30_4C91_8CFA_1BB6D75CE559__INCLUDED)

⌨️ 快捷键说明

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