- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
TColumnBitmap.h
上传用户:louyoung
上传日期:2007-01-02
资源大小:123k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- /************************************
- REVISION LOG ENTRY
- Revision By: Mihai Filimon
- Revised on 6/20/98 2:46:25 PM
- Comments: TColumnBitmap.h: interface for the CTColumnBitmap class.
- ************************************/
- #if !defined(AFX_TCOLUMNBITMAP_H__1CED3233_E31B_11D1_85EB_0040055C08D9__INCLUDED_)
- #define AFX_TCOLUMNBITMAP_H__1CED3233_E31B_11D1_85EB_0040055C08D9__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- class CTColumnBitmap
- {
- public:
- int GetWidth();
- int GetHeight();
- virtual void Put(int nColumn, CDC * pDC, int x, int y, int dxMax);
- static COLORREF m_crMaskedColor;
- CBitmap* GetBitmap();
- BOOL IsLoad() const;
- CRect GetRectImage(int nColumn);
- void Init(int nImageWidth, int nImageHeight, int nRowImage);
- CTColumnBitmap();
- CTColumnBitmap(UINT nIDResource, int nImageWidth = 14, int nImageHeight = 14, int nRowImage = 0);
- virtual ~CTColumnBitmap();
- protected:
- int m_nImageWidth;
- int m_nImageHeight;
- private:
- BOOL m_bLoad;
- CBitmap m_bitmap;
- int m_nRowImage;
- };
- class CTCellIcon : public CTColumnBitmap
- {
- public:
- CTCellIcon(HICON hIcon, BOOL bBigIcon);
- virtual void Put(int nColumn, CDC * pDC, int x, int y, int dxMax);
- virtual ~CTCellIcon();
- public:
- HICON m_hIcon;
- BOOL m_bBigIcon;
- };
- #endif // !defined(AFX_TCOLUMNBITMAP_H__1CED3233_E31B_11D1_85EB_0040055C08D9__INCLUDED_)