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

📄 childview.h

📁 传2机器人源代码VC
💻 H
字号:
// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHILDVIEW_H__F22EAFE9_AAF5_4221_8825_6A7A470139A6__INCLUDED_)
#define AFX_CHILDVIEW_H__F22EAFE9_AAF5_4221_8825_6A7A470139A6__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CChildView window
typedef struct{
	CString name;
	DWORD id;
	POINT pos;
}tag_MonListItem;

typedef struct{
	int direct;
	bool isRun;
	POINT newPos;
	POINT oldPos;
}tag_MovePoint;

class CChildView : public CWnd
{
// Construction
public:
	CChildView();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChildView)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	void MoveTo(CPoint Target);
	VOID Leave();
	VOID Enter();
	CPtrList m_MonList;
	CPtrList m_MovePoints;
	virtual ~CChildView();

	// Generated message map functions
protected:
	CRITICAL_SECTION m_CS;
	BOOL InCompute;
	CDC* m_pDC;
	CBitmap *m_pBitmap;
	BOOL m_bSizeChanged;
	CPoint m_Position;
	int scale;
	//{{AFX_MSG(CChildView)
	afx_msg void OnPaint();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_CHILDVIEW_H__F22EAFE9_AAF5_4221_8825_6A7A470139A6__INCLUDED_)

⌨️ 快捷键说明

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