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
gatewayView.cpp
Package: wow.rar [view]
Upload User: jxpjxmjjw
Upload Date: 2009-12-07
Package Size: 5877k
Code Size: 2k
Category:
Game Server Simulator
Development Platform:
Visual C++
- // gatewayView.cpp : implementation of the CGatewayView class
- //
- #include "stdafx.h"
- #include "gateway.h"
- #include "gatewayDoc.h"
- #include "gatewayView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CGatewayView
- IMPLEMENT_DYNCREATE(CGatewayView, CView)
- BEGIN_MESSAGE_MAP(CGatewayView, CView)
- //{{AFX_MSG_MAP(CGatewayView)
- // 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
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CGatewayView construction/destruction
- CGatewayView::CGatewayView()
- {
- // TODO: add construction code here
- }
- CGatewayView::~CGatewayView()
- {
- }
- BOOL CGatewayView::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
- return CView::PreCreateWindow(cs);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CGatewayView drawing
- void CGatewayView::OnDraw(CDC* pDC)
- {
- CGatewayDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
- // TODO: add draw code for native data here
- }
- /////////////////////////////////////////////////////////////////////////////
- // CGatewayView diagnostics
- #ifdef _DEBUG
- void CGatewayView::AssertValid() const
- {
- CView::AssertValid();
- }
- void CGatewayView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
- CGatewayDoc* CGatewayView::GetDocument() // non-debug version is inline
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CGatewayDoc)));
- return (CGatewayDoc*)m_pDocument;
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CGatewayView message handlers