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

Public Member Functions

 CImageListT (HIMAGELIST hImageList=NULL)
 
CImageListT< t_bManaged > & operator= (HIMAGELIST hImageList)
 
void Attach (HIMAGELIST hImageList)
 
HIMAGELIST Detach ()
 
 operator HIMAGELIST () const
 
bool IsNull () const
 
int GetImageCount () const
 
COLORREF GetBkColor () const
 
COLORREF SetBkColor (COLORREF cr)
 
BOOL GetImageInfo (int nImage, IMAGEINFO *pImageInfo) const
 
HICON GetIcon (int nIndex, UINT uFlags=ILD_NORMAL) const
 
BOOL GetIconSize (int &cx, int &cy) const
 
BOOL GetIconSize (SIZE &size) const
 
BOOL SetIconSize (int cx, int cy)
 
BOOL SetIconSize (SIZE size)
 
BOOL SetImageCount (UINT uNewCount)
 
BOOL SetOverlayImage (int nImage, int nOverlay)
 
BOOL Create (int cx, int cy, UINT nFlags, int nInitial, int nGrow)
 
BOOL Create (ATL::_U_STRINGorID bitmap, int cx, int nGrow, COLORREF crMask)
 
BOOL CreateFromImage (ATL::_U_STRINGorID image, int cx, int nGrow, COLORREF crMask, UINT uType, UINT uFlags=LR_DEFAULTCOLOR|LR_DEFAULTSIZE)
 
BOOL Merge (HIMAGELIST hImageList1, int nImage1, HIMAGELIST hImageList2, int nImage2, int dx, int dy)
 
BOOL Destroy ()
 
int Add (HBITMAP hBitmap, HBITMAP hBitmapMask=NULL)
 
int Add (HBITMAP hBitmap, COLORREF crMask)
 
BOOL Remove (int nImage)
 
BOOL RemoveAll ()
 
BOOL Replace (int nImage, HBITMAP hBitmap, HBITMAP hBitmapMask)
 
int AddIcon (HICON hIcon)
 
int ReplaceIcon (int nImage, HICON hIcon)
 
HICON ExtractIcon (int nImage)
 
BOOL Draw (HDC hDC, int nImage, int x, int y, UINT nStyle)
 
BOOL Draw (HDC hDC, int nImage, POINT pt, UINT nStyle)
 
BOOL DrawEx (int nImage, HDC hDC, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle)
 
BOOL DrawEx (int nImage, HDC hDC, RECT &rect, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle)
 
BOOL Copy (int nSrc, int nDst, UINT uFlags=ILCF_MOVE)
 
BOOL BeginDrag (int nImage, POINT ptHotSpot)
 
BOOL BeginDrag (int nImage, int xHotSpot, int yHotSpot)
 
BOOL SetDragCursorImage (int nDrag, POINT ptHotSpot)
 
BOOL SetDragCursorImage (int nDrag, int xHotSpot, int yHotSpot)
 

Static Public Member Functions

static BOOL DrawIndirect (IMAGELISTDRAWPARAMS *pimldp)
 
static void EndDrag ()
 
static BOOL DragMove (POINT pt)
 
static BOOL DragMove (int x, int y)
 
static BOOL DragShowNolock (BOOL bShow=TRUE)
 
static CImageList GetDragImage (LPPOINT lpPoint, LPPOINT lpPointHotSpot)
 
static BOOL DragEnter (HWND hWnd, POINT point)
 
static BOOL DragEnter (HWND hWnd, int x, int y)
 
static BOOL DragLeave (HWND hWnd)
 

Public Attributes

HIMAGELIST m_hImageList
 

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