?? chessdisplayview.h
字號:
// ChessDisplayView.h : interface of the CChessDisplayView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHESSDISPLAYVIEW_H__279580EB_4282_409F_966D_AA9F5429AB98__INCLUDED_)
#define AFX_CHESSDISPLAYVIEW_H__279580EB_4282_409F_966D_AA9F5429AB98__INCLUDED_
#include "ChessTableRangeSetDlg.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ChessTableRangeSetDlg.h"
#include "ChessCalculator.h"
class CChessDisplayView : public CView
{
protected: // create from serialization only
CChessDisplayView();
DECLARE_DYNCREATE(CChessDisplayView)
// Attributes
public:
CChessDisplayDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChessDisplayView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CChessDisplayView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CChessDisplayView)
afx_msg void OnChessRangeEightEight();
afx_msg void OnChessRangeFiveFive();
afx_msg void OnChessRangeNineNine();
afx_msg void OnChessRangeOther();
afx_msg void OnChessRangeSevenSeven();
afx_msg void OnChessRangeSixSix();
afx_msg void OnChessRangeTenTen();
afx_msg void OnGraphicResultDisplay();
afx_msg void OnStartCalculate();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnTextResultDisplay();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnCartoonShow();
afx_msg void OnDirectShow();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
bool m_painted;
friend UINT MyThreadProcCal( LPVOID pParam );
friend UINT MyThreadProcPaint( LPVOID pParam );
CChessTableRangeSetDlg m_chessSetDlg;
CChessCalculator m_chessCalculator;
};
#ifndef _DEBUG // debug version in ChessDisplayView.cpp
inline CChessDisplayDoc* CChessDisplayView::GetDocument()
{ return (CChessDisplayDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHESSDISPLAYVIEW_H__279580EB_4282_409F_966D_AA9F5429AB98__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -