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
DIBStatic.h
Package: vc图像处理比较全面的程序.rar [view]
Upload User: alisonmail
Upload Date: 2013-02-28
Package Size: 500k
Code Size: 2k
Category:
Picture Viewer
Development Platform:
Visual C++
- /////////////////////////////////////////////////////////////////////////////
- // Copyright (C) 1998 by Jorge Lodos
- // All rights reserved
- //
- // Distribute and use freely, except:
- // 1. Don't alter or remove this notice.
- // 2. Mark the changes you made
- //
- // Send bug reports, bug fixes, enhancements, requests, etc. to:
- // lodos@cigb.edu.cu
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DIBSTATIC_H__40E4BDE3_BD3A_11D1_89F4_0000E81D3D27__INCLUDED_)
- #define AFX_DIBSTATIC_H__40E4BDE3_BD3A_11D1_89F4_0000E81D3D27__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // DIBStatic.h : header file
- //
- #include "DIB.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDIBStatic window
- class CDIBStatic : public CStatic
- {
- // Construction
- public:
- CDIBStatic();
- // Attributes
- public:
- CDib m_DIB;
- public:
- BOOL IsValidDib() const { return (m_DIB.IsValid()); }
- // Operations
- public:
- BOOL LoadDib(LPCTSTR lpszFileName);
- BOOL LoadDib(CFile& file);
- void UpdateDib();
- void RemoveDib() { m_DIB.Invalidate(); UpdateDib(); }
- BOOL DoRealizePalette(BOOL bForceBackGround);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDIBStatic)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CDIBStatic();
- protected:
- void ClearDib();
- void PaintDib(BOOL bDibValid);
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDIBStatic)
- afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
- afx_msg BOOL OnQueryNewPalette();
- afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DIBSTATIC_H__40E4BDE3_BD3A_11D1_89F4_0000E81D3D27__INCLUDED_)