1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #include "stdafx.h"
- #include "YLGL.h"
- #include "YLGLDoc.h"
- #include "YLGLView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- IMPLEMENT_DYNCREATE(CYLGLView, CView)
- BEGIN_MESSAGE_MAP(CYLGLView, CView)
-
-
- END_MESSAGE_MAP()
- CYLGLView::CYLGLView()
- {
-
- }
- CYLGLView::~CYLGLView()
- {
- }
- BOOL CYLGLView::PreCreateWindow(CREATESTRUCT& cs)
- {
-
-
- return CView::PreCreateWindow(cs);
- }
- void CYLGLView::OnDraw(CDC* pDC)
- {
- CYLGLDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
-
- }
- #ifdef _DEBUG
- void CYLGLView::AssertValid() const
- {
- CView::AssertValid();
- }
- void CYLGLView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
- CYLGLDoc* CYLGLView::GetDocument()
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CYLGLDoc)));
- return (CYLGLDoc*)m_pDocument;
- }
- #endif
- void CYLGLView::OnInitialUpdate()
- {
- CView::OnInitialUpdate();
-
-
- }
|