crashrpt2
Public Member Functions | Public Attributes | List of all members
WTL::CBitmapT< t_bManaged > Class Template Reference

Public Member Functions

 CBitmapT (HBITMAP hBitmap=NULL)
 
CBitmapT< t_bManaged > & operator= (HBITMAP hBitmap)
 
void Attach (HBITMAP hBitmap)
 
HBITMAP Detach ()
 
 operator HBITMAP () const
 
bool IsNull () const
 
HBITMAP LoadBitmap (ATL::_U_STRINGorID bitmap)
 
HBITMAP LoadOEMBitmap (UINT nIDBitmap)
 
HBITMAP LoadMappedBitmap (UINT nIDBitmap, UINT nFlags=0, LPCOLORMAP lpColorMap=NULL, int nMapSize=0)
 
HBITMAP CreateBitmap (int nWidth, int nHeight, UINT nPlanes, UINT nBitsPerPixel, const void *lpBits)
 
HBITMAP CreateBitmapIndirect (LPBITMAP lpBitmap)
 
HBITMAP CreateCompatibleBitmap (HDC hDC, int nWidth, int nHeight)
 
HBITMAP CreateDiscardableBitmap (HDC hDC, int nWidth, int nHeight)
 
BOOL DeleteObject ()
 
int GetBitmap (BITMAP *pBitMap) const
 
bool GetBitmap (BITMAP &bm) const
 
bool GetSize (SIZE &size) const
 
DWORD GetBitmapBits (DWORD dwCount, LPVOID lpBits) const
 
DWORD SetBitmapBits (DWORD dwCount, const void *lpBits)
 
BOOL GetBitmapDimension (LPSIZE lpSize) const
 
BOOL SetBitmapDimension (int nWidth, int nHeight, LPSIZE lpSize=NULL)
 
HBITMAP CreateDIBitmap (HDC hDC, CONST BITMAPINFOHEADER *lpbmih, DWORD dwInit, CONST VOID *lpbInit, CONST BITMAPINFO *lpbmi, UINT uColorUse)
 
HBITMAP CreateDIBSection (HDC hDC, CONST BITMAPINFO *lpbmi, UINT uColorUse, VOID **ppvBits, HANDLE hSection, DWORD dwOffset)
 
int GetDIBits (HDC hDC, UINT uStartScan, UINT cScanLines, LPVOID lpvBits, LPBITMAPINFO lpbmi, UINT uColorUse) const
 
int SetDIBits (HDC hDC, UINT uStartScan, UINT cScanLines, CONST VOID *lpvBits, CONST BITMAPINFO *lpbmi, UINT uColorUse)
 

Public Attributes

HBITMAP m_hBitmap
 

The documentation for this class was generated from the following file: