Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
HeaderView.h
Package: winpe.zip [view]
Upload User: ch83438830
Upload Date: 2007-01-01
Package Size: 104k
Code Size: 2k
Category:
File Operate
Development Platform:
Visual C++
- // winpeView.h : interface of the CHeaderView class
- //
- /////////////////////////////////////////////////////////////////////////////
- class CHeaderView : public CScrollView
- {
- protected: // create from serialization only
- CHeaderView();
- DECLARE_DYNCREATE(CHeaderView)
- // Attributes
- public:
- CWinpeDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CHeaderView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CHeaderView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CHeaderView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CStringArray m_DisplayData;
- void PrintPage(CDC* pDC, UINT nPageNumber);
- void PrintPageHeader (CDC* pDC, UINT nPageNumber);
- INT GetFileHdrOptions();
- INT GetOptnlHdrOptions();
- INT m_nLinesTotal;
- INT m_cyScreen;
- INT m_cxOffset;
- INT m_cyPrinter;
- INT m_cxWidth;
- INT m_nLinesPerPage;
- //
- //
- //
- //
- };
- #ifndef _DEBUG // debug version in winpeView.cpp
- inline CWinpeDoc* CHeaderView::GetDocument()
- { return (CWinpeDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////