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

📄 cardsctl.h

📁 此控件有五十四张牌
💻 H
字号:
#if !defined(AFX_CARDSCTL_H__0F968814_D214_11D5_9022_5254AB123A61__INCLUDED_)
#define AFX_CARDSCTL_H__0F968814_D214_11D5_9022_5254AB123A61__INCLUDED_

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

// CardsCtl.h : Declaration of the CCardsCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CCardsCtrl : See CardsCtl.cpp for implementation.

class CCardsCtrl : public COleControl
{
	DECLARE_DYNCREATE(CCardsCtrl)

// Constructor
public:
	CCardsCtrl();
	short value,backbmp;
	BOOL background;
	BOOL CancelPopup;
	BOOL A14;
	BOOL IsMove,m_IsMove;
	BOOL IsGoHome;
	CPoint OldPoint,origin;
	CRect rect;
	long xx,yy;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCardsCtrl)
	public:
	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
	virtual void DoPropExchange(CPropExchange* pPX);
	virtual void OnResetState();
	//}}AFX_VIRTUAL

// Implementation
protected:
	~CCardsCtrl();

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

// Message maps
	//{{AFX_MSG(CCardsCtrl)
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnMenuitemAbout();
	afx_msg void OnUpdateMenuitemAbout(CCmdUI* pCmdUI);
	afx_msg void OnMenuitemHelp();
	afx_msg void OnUpdateMenuitemHelp(CCmdUI* pCmdUI);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Dispatch maps
	//{{AFX_DISPATCH(CCardsCtrl)
	afx_msg short GetValue();
	afx_msg void SetValue(short nNewValue);
	afx_msg BOOL GetBackground();
	afx_msg void SetBackground(BOOL bNewValue);
	afx_msg short GetBackbmp();
	afx_msg void SetBackbmp(short nNewValue);
	afx_msg BOOL GetCancelPopup();
	afx_msg void SetCancelPopup(BOOL bNewValue);
	afx_msg BOOL GetIsMove();
	afx_msg void SetIsMove(BOOL bNewValue);
	afx_msg BOOL GetIsGoHome();
	afx_msg void SetIsGoHome(BOOL bNewValue);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

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

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CCardsCtrl)
	dispidValue = 1L,
	dispidBackground = 2L,
	dispidBackbmp = 3L,
	dispidCancelPopup = 4L,
	dispidIsMove = 5L,
	dispidIsGoHome = 6L,
	//}}AFX_DISP_ID
	};
};

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

#endif // !defined(AFX_CARDSCTL_H__0F968814_D214_11D5_9022_5254AB123A61__INCLUDED)

⌨️ 快捷键说明

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