TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
Bitmap Class Reference

Public Member Functions

 Bitmap ()
 
 Bitmap (HBITMAP hBitmap)
 
virtual ~Bitmap ()
 
void Delete ()
 
void Attach (HBITMAP hBitmap)
 
BOOL LoadFromResource (INT iResourceID)
 
BOOL CreateCompatible (HDC hDC, UINT iWidth, UINT iHeight)
 
BOOL Blt (HDC hDCDest, UINT iX, UINT iY)
 
UINT GetWidth ()
 
UINT GetHeight ()
 
void Detach ()
 
HBITMAP GetBitmap () const
 

Protected Attributes

HBITMAP m_hBitmap
 

Constructor & Destructor Documentation

Bitmap ( )
Bitmap ( HBITMAP  hBitmap)
explicit
virtual ~Bitmap ( )
virtual

Member Function Documentation

void Delete ( )
void Attach ( HBITMAP  hBitmap)
BOOL LoadFromResource ( INT  iResourceID)
BOOL CreateCompatible ( HDC  hDC,
UINT  iWidth,
UINT  iHeight 
)
BOOL Blt ( HDC  hDCDest,
UINT  iX,
UINT  iY 
)
UINT GetWidth ( )
UINT GetHeight ( )
void Detach ( )
HBITMAP GetBitmap ( ) const

Member Data Documentation

HBITMAP m_hBitmap
protected