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

📄 rj030413view.h

📁 实现用户验证..画圆 显示当前系统时间 对VC很有帮助 1):修改字体背景色 2):修改字体颜色 3):修改字体属性 4):在工作区画硬币(可以通过菜单栏、工具栏及右键来实现
💻 H
字号:
// RJ030413View.h : interface of the CRJ030413View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_RJ030413VIEW_H__80EBA792_F365_465E_9BD2_CB2BE8CE09FF__INCLUDED_)
#define AFX_RJ030413VIEW_H__80EBA792_F365_465E_9BD2_CB2BE8CE09FF__INCLUDED_

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


class CRJ030413View : public CView
{
protected: // create from serialization only
	CRJ030413View();
	DECLARE_DYNCREATE(CRJ030413View);
		///////////////////////////////////////////////////////////
	CFont m_Font;
	COLORREF m_ForeColor;
	COLORREF m_BackColor;
	//...................................................................
	CPoint m_ptOrigin;
	bool m_bDragging;
	HCURSOR m_hCross;
	//................................................................
// Attributes//////////////////////////////////////////////////////
public:
	CRJ030413Doc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRJ030413View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CRJ030413View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CRJ030413View)
	afx_msg void OnMenuFore();
	afx_msg void OnMenuFont();
	afx_msg void OnMenuBack();
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnTestComctl();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in RJ030413View.cpp
inline CRJ030413Doc* CRJ030413View::GetDocument()
   { return (CRJ030413Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_RJ030413VIEW_H__80EBA792_F365_465E_9BD2_CB2BE8CE09FF__INCLUDED_)

⌨️ 快捷键说明

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