REPORTWND.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:1k
- #if !defined(AFX_REPORTWND_H__E2A07446_1754_11D3_BAC4_12345600558E__INCLUDED_)
- #define AFX_REPORTWND_H__E2A07446_1754_11D3_BAC4_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ReportWnd.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CReportWnd window
- #include "SheetReport.h"
- class CReportWnd : public CWnd
- {
- // Construction
- public:
- CReportWnd();
- virtual CSheetReport& GetSheetControl() {return m_wndSheet;};
- // Attributes
- public:
- CSheetReport m_wndSheet;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CReportWnd)
- protected:
- virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual BOOL NeedScroll();
- void ActivateScrollBar();
- virtual ~CReportWnd();
- // Generated message map functions
- protected:
- afx_msg LRESULT OnPageChanged(WPARAM pNewView, LPARAM);
- //{{AFX_MSG(CReportWnd)
- afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_REPORTWND_H__E2A07446_1754_11D3_BAC4_12345600558E__INCLUDED_)