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

📄 jlview.h

📁 很经典的用C++编的空当接龙的程序
💻 H
字号:
// JLView.h : interface of the CJLView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_JLVIEW_H__B381F5ED_2644_11D8_9B84_00055D5E1EBB__INCLUDED_)
#define AFX_JLVIEW_H__B381F5ED_2644_11D8_9B84_00055D5E1EBB__INCLUDED_

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


class CJLView : public CView
{
protected: // create from serialization only
	CJLView();
	DECLARE_DYNCREATE(CJLView)

// Attributes
public:
	CJLDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CJLView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual void OnInitialUpdate();
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	UINT CardLabelHitTest(const CPoint &point);
	void AdjustFrameToFixedSize();
	void HitAt(CPoint point);
	HCURSOR	m_hDown;
	HICON	m_hIcon;
	CBitmap m_AllBmps;
	CBrush  m_brushBk;
	CBrush  m_brushBkgnd;
	CRect   m_rectRBDown;
	UINT m_nCardLabelHit;
	void DrawCard(CPoint point,UINT card, CDC *pDC);
	UINT CardColHitTest(const CPoint& point);

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CJLView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnBkColor();
	afx_msg void OnCardColor();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in JLView.cpp
inline CJLDoc* CJLView::GetDocument()
   { return (CJLDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_JLVIEW_H__B381F5ED_2644_11D8_9B84_00055D5E1EBB__INCLUDED_)

⌨️ 快捷键说明

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