?? guiview.cpp
字號:
// GUIView.cpp : implementation of the CGUIView class
//
#include "stdafx.h"
#include "GUI.h"
#include "GUIDoc.h"
#include "GUIView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CGUIView
IMPLEMENT_DYNCREATE(CGUIView, CView)
BEGIN_MESSAGE_MAP(CGUIView, CView)
END_MESSAGE_MAP()
// CGUIView construction/destruction
CGUIView::CGUIView()
{
// TODO: add construction code here
}
CGUIView::~CGUIView()
{
}
BOOL CGUIView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
// CGUIView drawing
void CGUIView::OnDraw(CDC* /*pDC*/)
{
CGUIDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
return;
// TODO: add draw code for native data here
}
// CGUIView diagnostics
#ifdef _DEBUG
void CGUIView::AssertValid() const
{
CView::AssertValid();
}
void CGUIView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CGUIDoc* CGUIView::GetDocument() const // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CGUIDoc)));
return (CGUIDoc*)m_pDocument;
}
#endif //_DEBUG
// CGUIView message handlers
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -