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
ClientCapture.h
Package: solidgraph_sources.zip [view]
Upload User: kairuinn
Upload Date: 2009-02-07
Package Size: 2922k
Code Size: 1k
Category:
Graph program
Development Platform:
Visual C++
- #if !defined(AFX_CLIENTCAPTURE_H__F3017F4D_3A97_11D2_9506_F6C490433B31__INCLUDED_)
- #define AFX_CLIENTCAPTURE_H__F3017F4D_3A97_11D2_9506_F6C490433B31__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- class CClientCapture
- {
- public: // create from serialization only
- CClientCapture();
- ~CClientCapture();
- // Operations
- public:
- void Release();
- BOOL WriteDIB( CString csFile);
- void OnDraw(HDC hDC, CRect rcRect, CRect rect);
- BOOL Paint(HDC hDC, CPalette *pal, LPRECT lpDCRect, LPRECT lpDIBRect) const;
- void Capture(CDC *dc, CRect rectDIB);
- private:
- HANDLE hDIB;
- DWORD Height() const;
- BOOL WriteWindowToDIB( HDC hDC, CDC* dc, CRect rect);
- HANDLE DDBToDIB( CBitmap& bitmap, DWORD dwCompression, CPalette* pPal, CDC* dc);
- BOOL WriteWindowToDIB(CDC* dc, CRect rect);
- LPBITMAPINFO m_pBMI;
- LPBYTE m_pBits;
- CPalette pal;
- };
- /////////////////////////////////////////////////////////////////////////////
- #endif // !defined(AFX_CLIENTCAPTURE_H__F3017F4D_3A97_11D2_9506_F6C490433B31__INCLUDED_)