reviewstatic.h

来自「一款用C++编写的网络版中国象棋对弈程序源代码」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_REVIEWSTATIC_H__FBB234C1_6255_11D5_8E58_0050BA1AACA1__INCLUDED_)
#define AFX_REVIEWSTATIC_H__FBB234C1_6255_11D5_8E58_0050BA1AACA1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// reviewstatic.h : header file
//
#define PU 1
#define ST 2
#define CENTER 3
/////////////////////////////////////////////////////////////////////////////
// reviewstatic window

class reviewstatic : public CStatic
{
// Construction
public:
	reviewstatic();
	CBitmap drawbmp;
	void draw(CString name);
	void draw(UINT nid);
	void drawbody();
	void clear();
	int mode;
	HCURSOR handcur;
	int width;
	int height;
	int drawtop;
	int drawleft;
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(reviewstatic)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~reviewstatic();

	// Generated message map functions
protected:
	//{{AFX_MSG(reviewstatic)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	//afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_REVIEWSTATIC_H__FBB234C1_6255_11D5_8E58_0050BA1AACA1__INCLUDED_)

⌨️ 快捷键说明

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