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
FLASHVIEW.CPP
Package: VC_FLASH_player.rar [view]
Upload User: scztsn
Upload Date: 2022-07-09
Package Size: 50k
Code Size: 2k
Category:
Multimedia Develop
Development Platform:
Visual C++
- // flashView.cpp : implementation of the CFlashView class
- //
- #include "stdafx.h"
- #include "flash.h"
- #include "flashDoc.h"
- #include "flashView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CFlashView
- IMPLEMENT_DYNCREATE(CFlashView, CHtmlView)
- BEGIN_MESSAGE_MAP(CFlashView, CHtmlView)
- //{{AFX_MSG_MAP(CFlashView)
- // 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, CHtmlView::OnFilePrint)
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CFlashView construction/destruction
- CFlashView::CFlashView()
- {
- // TODO: add construction code here
- }
- CFlashView::~CFlashView()
- {
- }
- BOOL CFlashView::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
- return CHtmlView::PreCreateWindow(cs);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFlashView drawing
- void CFlashView::OnDraw(CDC* pDC)
- {
- CFlashDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
- // TODO: add draw code for native data here
- }
- void CFlashView::OnInitialUpdate()
- {
- CHtmlView::OnInitialUpdate();
- // TODO: This code navigates to a popular spot on the web.
- // change the code to go where you'd like.
- Navigate2(_T("http://flash.qianlong.com/dh_flash.asp"),NULL,NULL);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFlashView printing
- /////////////////////////////////////////////////////////////////////////////
- // CFlashView diagnostics
- #ifdef _DEBUG
- void CFlashView::AssertValid() const
- {
- CHtmlView::AssertValid();
- }
- void CFlashView::Dump(CDumpContext& dc) const
- {
- CHtmlView::Dump(dc);
- }
- CFlashDoc* CFlashView::GetDocument() // non-debug version is inline
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CFlashDoc)));
- return (CFlashDoc*)m_pDocument;
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CFlashView message handlers