FormatNumView.h
上传用户:lqt88888
上传日期:2009-12-14
资源大小:905k
文件大小:2k
- // FormatNumView.h : interface of the CFormatNumView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_FORMATNUMVIEW_H__B8A549AA_7403_4667_9DE8_2BA4FFAAE119__INCLUDED_)
- #define AFX_FORMATNUMVIEW_H__B8A549AA_7403_4667_9DE8_2BA4FFAAE119__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CFormatNumSet;
- class CFormatNumView : public CRecordView
- {
- protected: // create from serialization only
- CFormatNumView();
- DECLARE_DYNCREATE(CFormatNumView)
- public:
- //{{AFX_DATA(CFormatNumView)
- enum { IDD = IDD_FORMATNUM_FORM };
- CFormatNumSet* m_pSet;
- double m_fNumber;
- //}}AFX_DATA
- // Attributes
- public:
- CFormatNumDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFormatNumView)
- public:
- virtual CRecordset* OnGetRecordset();
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CFormatNumView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CFormatNumView)
- afx_msg void OnShow();
- afx_msg void OnModify();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in FormatNumView.cpp
- inline CFormatNumDoc* CFormatNumView::GetDocument()
- { return (CFormatNumDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FORMATNUMVIEW_H__B8A549AA_7403_4667_9DE8_2BA4FFAAE119__INCLUDED_)