antclusteringview.h
来自「蚁群算法」· C头文件 代码 · 共 86 行
H
86 行
// AntClusteringView.h : interface of the CAntClusteringView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_AntClusteringVIEW_H__2A961B8C_2615_4AF2_A016_762586BFCE71__INCLUDED_)
#define AFX_AntClusteringVIEW_H__2A961B8C_2615_4AF2_A016_762586BFCE71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CAntClusteringView : public CScrollView
{
protected: // create from serialization only
CAntClusteringView();
DECLARE_DYNCREATE(CAntClusteringView)
// Attributes
public:
CAntClusteringDoc* GetDocument();
// Operations
public:
DataObject* m_pOriDataObj;
int classNo;
UINT posChangeDataNum;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAntClusteringView)
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 ~CAntClusteringView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
private:
CMetaFileDC m_dcMetaFile;
// Generated message map functions
protected:
//{{AFX_MSG(CAntClusteringView)
afx_msg void OnParameter();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnMenuReaddata();
afx_msg void OnWritelog();
afx_msg void OnFileSave();
afx_msg void OnFileopen();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
bool m_bStartDraw;
int m_nViewPropNum;
int m_nViewDataNum;
virtual void OnInitialUpdate();
};
#ifndef _DEBUG // debug version in AntClusteringView.cpp
inline CAntClusteringDoc* CAntClusteringView::GetDocument()
{ return (CAntClusteringDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AntClusteringVIEW_H__2A961B8C_2615_4AF2_A016_762586BFCE71__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?