// DemoView.h : interface of the CDemoView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_DEMOVIEW_H__3D2A41E4_C897_4064_AD75_DC3F1B237D00__INCLUDED_) #define AFX_DEMOVIEW_H__3D2A41E4_C897_4064_AD75_DC3F1B237D00__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "ResizableFormView.h" class CDemoView : public CResizableFormView { protected: // create from serialization only CDemoView(); DECLARE_DYNCREATE(CDemoView) public: //{{AFX_DATA(CDemoView) enum { IDD = IDD_DEMO_FORM }; CStatic m_icon1; //}}AFX_DATA // Attributes public: CDemoDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDemoView) public: protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnInitialUpdate(); // called first time after construct //}}AFX_VIRTUAL // Implementation public: void DialogToFormView(); void FormViewToDialog(); virtual ~CDemoView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: //{{AFX_MSG(CDemoView) afx_msg void OnButton2(); afx_msg void OnButton1(); afx_msg void OnRadio2(); afx_msg void OnRadio1(); virtual BOOL OnInitDialog(); afx_msg void OnRadio3(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in DemoView.cpp inline CDemoDoc* CDemoView::GetDocument() { return (CDemoDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DEMOVIEW_H__3D2A41E4_C897_4064_AD75_DC3F1B237D00__INCLUDED_)