Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабораторная работа №43 / testMFC / testMFCView
.h// testMFCView.h : interface of the CtestMFCView class
//
#pragma once
#include "RenderWindow.h"
#include "afxwin.h"
class CtestMFCView : public CFormView
{
protected: // create from serialization only
CtestMFCView();
DECLARE_DYNCREATE(CtestMFCView)
public:
enum{ IDD = IDD_TESTMFC_FORM };
// Attributes
public:
CtestMFCDoc* GetDocument() const;
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
// Implementation
public:
virtual ~CtestMFCView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnBnClickedButton1();
CRenderWindow mRendererWindow;
CEdit mLength;
CEdit mOneLength;
CEdit mDeep;
CEdit mFirstColor;
CEdit mColorStep;
};
#ifndef _DEBUG // debug version in testMFCView.cpp
inline CtestMFCDoc* CtestMFCView::GetDocument() const
{ return reinterpret_cast<CtestMFCDoc*>(m_pDocument); }
#endif
Соседние файлы в папке testMFC