?? childview.h
字號:
#pragma once
#include "Delaunay.h"
class CChildView : public CWnd
{
public:
CChildView();
virtual ~CChildView();
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnPaint();
afx_msg void OnFileOptions();
void NewVertices(void);
vertexSet m_Vertices;
triangleSet m_Triangles;
int m_nVertices;
REAL m_hScale;
REAL m_vScale;
int m_hMargin;
int m_vMargin;
int m_yText;
int m_nTime;
DECLARE_MESSAGE_MAP()
};
class COptionsDlg : public CDialog
{
public:
enum { IDD = IDD_OPTIONS };
COptionsDlg(CWnd* pParent = NULL);
virtual ~COptionsDlg();
int m_nVertices;
protected:
virtual BOOL OnInitDialog();
virtual void DoDataExchange(CDataExchange* pDX);
CSpinButtonCtrl c_spinVertices;
DECLARE_DYNAMIC(COptionsDlg)
DECLARE_MESSAGE_MAP()
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -