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
fiveView.cpp
Package: fivesource.zip [view]
Upload User: kkzhu_0
Upload Date: 2007-01-05
Package Size: 214k
Code Size: 2k
Category:
Chess Poker games
Development Platform:
Visual C++
- // fiveView.cpp : implementation of the CFiveView class
- //
- #include "stdafx.h"
- #include "five.h"
- #include "fiveDoc.h"
- #include "fiveView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CFiveView
- IMPLEMENT_DYNCREATE(CFiveView, CView)
- BEGIN_MESSAGE_MAP(CFiveView, CView)
- //{{AFX_MSG_MAP(CFiveView)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CFiveView construction/destruction
- CFiveView::CFiveView()
- {
- // TODO: add construction code here
- }
- CFiveView::~CFiveView()
- {
- }
- BOOL CFiveView::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
- return CView::PreCreateWindow(cs);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFiveView drawing
- void CFiveView::OnDraw(CDC* pDC)
- {
- CFiveDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
- // TODO: add draw code for native data here
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFiveView diagnostics
- #ifdef _DEBUG
- void CFiveView::AssertValid() const
- {
- CView::AssertValid();
- }
- void CFiveView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
- CFiveDoc* CFiveView::GetDocument() // non-debug version is inline
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CFiveDoc)));
- return (CFiveDoc*)m_pDocument;
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CFiveView message handlers