?? controlview.cpp
字號(hào):
// ControlView.cpp : 實(shí)現(xiàn)文件
//
#include "stdafx.h"
#include "MakeRoads.h"
#include "ControlView.h"
#include "MainFrm.h"
#include "mapview.h"
// CControlView
IMPLEMENT_DYNCREATE(CControlView, CFormView)
CControlView::CControlView()
: CFormView(CControlView::IDD)
, pMapX(NULL)
{
}
CControlView::~CControlView()
{
}
void CControlView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CControlView, CFormView)
ON_WM_PAINT()
END_MESSAGE_MAP()
// CControlView 診斷
#ifdef _DEBUG
void CControlView::AssertValid() const
{
CFormView::AssertValid();
}
#ifndef _WIN32_WCE
void CControlView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif
#endif //_DEBUG
// CControlView 消息處理程序
void CControlView::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: 在此處添加消息處理程序代碼
// 不為繪圖消息調(diào)用 CFormView::OnPaint()
CMainFrame *pwnd = (CMainFrame*)AfxGetMainWnd();
pMapX = ((CMapView*)pwnd->m_pMapView)->GetMapX();
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -