rj030619view.h
来自「VC++一些代码,自己制作,可以实现密码登录,有画圆等功能.」· C头文件 代码 · 共 90 行
H
90 行
// RJ030619View.h : interface of the CRJ030619View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RJ030619VIEW_H__A350F4F5_2E08_4217_BC1C_24C050D2BB93__INCLUDED_)
#define AFX_RJ030619VIEW_H__A350F4F5_2E08_4217_BC1C_24C050D2BB93__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ComctlDlg.h"
class CRJ030619View : public CView
{
protected: // create from serialization only
CRJ030619View();
DECLARE_DYNCREATE(CRJ030619View)
// Attributes
public:
CRJ030619Doc* GetDocument();
// Operations
public:
int nFirst;
CString OutStr;
int OutStrLen;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRJ030619View)
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 ~CRJ030619View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
CFont m_Font; //正文的字体
COLORREF m_ForeColor; //正文的前景色
COLORREF m_BackColor; //正文的背景色
CPoint m_ptOrigin;
bool m_bDragging;
HCURSOR m_hCross;
int m_dEscapement;
// Generated message map functions
protected:
//{{AFX_MSG(CRJ030619View)
afx_msg void OnCommonColor();
afx_msg void OnCommonFont();
afx_msg void OnForeColor();
afx_msg void OnMenuTest();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
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 void OnTimer(UINT nIDEvent);
afx_msg LRESULT OnMyMessage(WPARAM wParam,LPARAM lParam);
afx_msg void OnMenuplay();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in RJ030619View.cpp
inline CRJ030619Doc* CRJ030619View::GetDocument()
{ return (CRJ030619Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RJ030619VIEW_H__A350F4F5_2E08_4217_BC1C_24C050D2BB93__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?