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
DragEditDoc.cpp
Package: drag_edit_test.zip [view]
Upload User: jackiejxj
Upload Date: 2007-01-02
Package Size: 35k
Code Size: 2k
Category:
TreeView
Development Platform:
Visual C++
- // DragEditDoc.cpp : implementation of the CDragEditDoc class
- //
- #include "stdafx.h"
- #include "DragEdit.h"
- #include "DragEditDoc.h"
- #include "TestDragEditDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CDragEditDoc
- IMPLEMENT_DYNCREATE(CDragEditDoc, CDocument)
- BEGIN_MESSAGE_MAP(CDragEditDoc, CDocument)
- //{{AFX_MSG_MAP(CDragEditDoc)
- ON_COMMAND(ID_FILE_TEST, OnFileTest)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CDragEditDoc construction/destruction
- CDragEditDoc::CDragEditDoc()
- {
- // TODO: add one-time construction code here
- }
- CDragEditDoc::~CDragEditDoc()
- {
- }
- BOOL CDragEditDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CDragEditDoc serialization
- void CDragEditDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CDragEditDoc diagnostics
- #ifdef _DEBUG
- void CDragEditDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CDragEditDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CDragEditDoc commands
- void CDragEditDoc::OnFileTest()
- {
- CTestDragEditDlg dlg;
- dlg.DoModal();
- }