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
FileView.h
Package: 视频会议系统.rar [view]
Upload User: popouu88
Upload Date: 2013-02-11
Package Size: 2894k
Code Size: 2k
Category:
VOIP program
Development Platform:
Visual C++
- #if !defined(AFX_FILEVIEW_H__BF113D45_9152_415B_819E_D4D819D7A657__INCLUDED_)
- #define AFX_FILEVIEW_H__BF113D45_9152_415B_819E_D4D819D7A657__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FileView.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CFileView form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class CMainFrame;
- #include "ListCtrlEx.h"
- #include "Afxmt.h"
- class CFileView : public CFormView
- {
- protected:
- CFileView();
- virtual ~CFileView();
- DECLARE_DYNCREATE( CFileView )
- class CInfo
- {
- public :
- CInfo( CFileView * pThis , int * id_list , int id_size )
- {
- this->pThis = pThis;
- this->id_size = id_size;
- this->id_list = this->id_size > 0 ? new int[ this->id_size ] : NULL;
- if( this->id_list )
- memcpy( this->id_list , id_list , this->id_size * sizeof( int ) );
- }
- virtual ~CInfo( )
- {
- if( this->id_list )
- {
- delete [ ]this->id_list; this->id_list = NULL;
- }
- }
- CFileView * pThis;
- CFile File;
- int * id_list;
- int id_size;
- };
- public:
- enum
- {
- SEND = 1 , RECEIVE
- };
- void SetMode( CFrameWnd * mainFrame , int mode );
- void Insert( const char * filename );
- void Delete( void );
- void Send( void );
- void Cancel( void );
- //{{AFX_DATA(CFileView)
- enum { IDD = IDD_VIEW_DIALOG };
- CListCtrlEx m_list;
- //}}AFX_DATA
- protected:
- void UpdateFileName( CString & filename );
- static UINT OnSend( void * pContext );
- //{{AFX_VIRTUAL(CFileView)
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- afx_msg void OnReceive( WPARAM wParam , LPARAM lParam );
- //{{AFX_MSG(CFileView)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- int mode;
- CMainFrame * frame;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FILEVIEW_H__BF113D45_9152_415B_819E_D4D819D7A657__INCLUDED_)