📄 childview.h
字号:
// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHILDVIEW_H__07910022_7B24_4084_A121_200EEF57B600__INCLUDED_)
#define AFX_CHILDVIEW_H__07910022_7B24_4084_A121_200EEF57B600__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Traveling.h"
#include <afxtempl.h>
/////////////////////////////////////////////////////////////////////////////
// CChildView window
//##ModelId=40863F420280
class CChildView : public CWnd
{
// Construction
public:
//##ModelId=40863F42029E
CChildView();
// Attributes
public:
//##ModelId=40863F4202B3
CList<POINT,POINT> m_cityList;
private:
//##ModelId=40863F4202C6
void MallocMemory();
//##ModelId=40863F4202DA
void DrawDistence(POINT s,POINT d,int distence,CPaintDC &dc);
//##ModelId=40863F420316
void ReleaseMemory();
//##ModelId=40863F42032B
BITMAP bmp;
//##ModelId=40863F420353
CTraveling trav;
//##ModelId=40863F42037A
int m_cityCount;
//##ModelId=40863F4203A3
CBitmap m_bmCity;
//##ModelId=40863F4203CA
bool lsAddingList;
//##ModelId=40863F430000
int *order;
//##ModelId=40863F430028
int *a;
//##ModelId=40863F430050
int **b;
//##ModelId=40863F43006E
int m_minDistence;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChildView)
protected:
//##ModelId=40863F430096
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
//##ModelId=40863F4300BE
virtual ~CChildView();
// Generated message map functions
protected:
//{{AFX_MSG(CChildView)
//##ModelId=40863F4300C8
afx_msg void OnPaint();
//##ModelId=40863F4300DC
afx_msg void OnBegin();
//##ModelId=40863F4300F0
afx_msg void OnReset();
//##ModelId=40863F43010E
afx_msg void OnLButtonUp(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__07910022_7B24_4084_A121_200EEF57B600__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -