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
MPCStatusBar_DemoView.cpp
Package: MPCStatusBar.zip [view]
Upload User: rubberdam
Upload Date: 2007-01-10
Package Size: 43k
Code Size: 3k
Category:
StatusBar
Development Platform:
Visual C++
- // MPCStatusBar_DemoView.cpp : implementation of the CMPCStatusBar_DemoView class
- //
- #include "stdafx.h"
- #include "MPCStatusBar_Demo.h"
- #include "MPCStatusBar_DemoDoc.h"
- #include "MPCStatusBar_DemoView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CMPCStatusBar_DemoView
- IMPLEMENT_DYNCREATE(CMPCStatusBar_DemoView, CView)
- BEGIN_MESSAGE_MAP(CMPCStatusBar_DemoView, CView)
- //{{AFX_MSG_MAP(CMPCStatusBar_DemoView)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- // DO NOT EDIT what you see in these blocks of generated code!
- //}}AFX_MSG_MAP
- // Standard printing commands
- ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
- ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
- ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CMPCStatusBar_DemoView construction/destruction
- CMPCStatusBar_DemoView::CMPCStatusBar_DemoView()
- {
- // TODO: add construction code here
- }
- CMPCStatusBar_DemoView::~CMPCStatusBar_DemoView()
- {
- }
- BOOL CMPCStatusBar_DemoView::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
- return CView::PreCreateWindow(cs);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMPCStatusBar_DemoView drawing
- void CMPCStatusBar_DemoView::OnDraw(CDC* pDC)
- {
- CMPCStatusBar_DemoDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
- // TODO: add draw code for native data here
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMPCStatusBar_DemoView printing
- BOOL CMPCStatusBar_DemoView::OnPreparePrinting(CPrintInfo* pInfo)
- {
- // default preparation
- return DoPreparePrinting(pInfo);
- }
- void CMPCStatusBar_DemoView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
- {
- // TODO: add extra initialization before printing
- }
- void CMPCStatusBar_DemoView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
- {
- // TODO: add cleanup after printing
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMPCStatusBar_DemoView diagnostics
- #ifdef _DEBUG
- void CMPCStatusBar_DemoView::AssertValid() const
- {
- CView::AssertValid();
- }
- void CMPCStatusBar_DemoView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
- CMPCStatusBar_DemoDoc* CMPCStatusBar_DemoView::GetDocument() // non-debug version is inline
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMPCStatusBar_DemoDoc)));
- return (CMPCStatusBar_DemoDoc*)m_pDocument;
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CMPCStatusBar_DemoView message handlers