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

📄 clarityctrlctl.h

📁 大家在有些时候希望自己做的控件是半透明或透明的
💻 H
字号:
#if !defined(AFX_CLARITYCTRLCTL_H__EC4E8EEC_D0B9_4C13_96D0_16D1534A97D5__INCLUDED_)
#define AFX_CLARITYCTRLCTL_H__EC4E8EEC_D0B9_4C13_96D0_16D1534A97D5__INCLUDED_

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

// ClarityCtrlCtl.h : Declaration of the CClarityCtrlCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CClarityCtrlCtrl : See ClarityCtrlCtl.cpp for implementation.

class CClarityCtrlCtrl : public COleControl
{
	DECLARE_DYNCREATE(CClarityCtrlCtrl)

// Constructor
public:
	CClarityCtrlCtrl();

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

// Implementation
protected:
	~CClarityCtrlCtrl();

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

// Message maps
	//{{AFX_MSG(CClarityCtrlCtrl)
		// 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(CClarityCtrlCtrl)
		// NOTE - ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

// Event maps
	//{{AFX_EVENT(CClarityCtrlCtrl)
		// NOTE - ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_EVENT
	DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CClarityCtrlCtrl)
		// NOTE: ClassWizard will add and remove enumeration elements here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DISP_ID
	};
};

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

#endif // !defined(AFX_CLARITYCTRLCTL_H__EC4E8EEC_D0B9_4C13_96D0_16D1534A97D5__INCLUDED)

⌨️ 快捷键说明

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