|
| ImageList (int cx, int cy, UINT flags, int cInitial, int cGrow) |
| 创建图像列表,参数与ImageList_Create相同
|
|
| ImageList (const ImageList &value) |
| 拷贝构造
|
|
| ImageList (ImageList &&rvalue) |
| 移动构造
|
|
virtual | ~ImageList () |
| 析构函数
|
|
ImageList & | operator= (const ImageList &value) |
| 拷贝赋值
|
|
ImageList & | operator= (ImageList &&rvalue) |
| 移动赋值
|
|
HIMAGELIST | GetHandle () const |
| 获取图像列表的句柄
|
|
bool | IsWrap () const |
| 判断当前对象是否为包装对象
|
|
HIMAGELIST | ReleaseHandle () |
| 获取图像列表句柄并取消对句柄的托管,调用该函数后当前对象将不可用,析构时也不会销毁句柄
|
|
int | Add (HBITMAP hbmImage, HBITMAP hbmMask) |
| 添加图像,该函数调用ImageList_Add
|
|
int | AddIcon (HICON hIcon) |
| 添加图标,该函数调用ImageList_AddIcon
|
|
int | AddMasked (HBITMAP hbmImage, COLORREF crMask) |
| 添加图像,指定颜色为mask,该函数调用ImageList_AddMasked
|
|
bool | BeginDrag (int iTrack, int dxHotspot, int dyHotspot) |
| 开始拖拽图像,该函数调用ImageList_BeginDrag
|
|
bool | Draw (int i, HDC hdcDst, double x, double y, UINT fStyle) |
| 在指定上下文DC下绘制图像,该函数调用ImageList_Draw
|
|
bool | Draw (int i, HDC hdcDst, double x, double y, double dx, double dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle) |
| 在指定上下文DC下绘制图像,该函数调用ImageList_DrawEx
|
|
bool | DrawPx (int i, HDC hdcDst, int x, int y, UINT fStyle) |
| 以像素为单位,在指定上下文DC下绘制图像,该函数调用ImageList_Draw
|
|
bool | DrawPx (int i, HDC hdcDst, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle) |
| 以像素为单位,在指定上下文DC下绘制图像,该函数调用ImageList_DrawEx
|
|
ImageList | Duplicate () |
| 复制当前图像列表,该函数调用ImageList_Duplicate
|
|
COLORREF | GetBkColor () |
| 获取背景颜色,该函数调用ImageList_GetBkColor
|
|
HICON | GetIcon (int i, UINT flags) |
| 通过指定位置的图像创建图标句柄,该函数调用ImageList_GetIcon
|
|
bool | GetIconSize (int &cx, int &cy) |
| 获取图标大小,该函数调用ImageList_GetIconSize
|
|
int | GetImageCount () |
| 获取图像个数,该函数调用ImageList_GetImageCount
|
|
bool | GetImageInfo (int i, IMAGEINFO *pImageInfo) |
| 获取图像信息,该函数调用ImageList_GetImageInfo
|
|
bool | Remove (int i) |
| 移除指定图像,该函数调用ImageList_Remove
|
|
bool | RemoveAll () |
| 移除所有图像,该函数调用ImageList_Remove
|
|
bool | Replace (int i, HBITMAP hbmImage, HBITMAP hbmMask) |
| 更换指定位置的图像,该函数调用ImageList_Replace
|
|
int | ReplaceIcon (int i, HICON hicon) |
| 更换图标,该函数调用ImageList_ReplaceIcon
|
|
COLORREF | SetBkColor (COLORREF clrBk) |
| 设置背景颜色,该函数调用ImageList_SetBkColor
|
|
bool | SetDragCursorImage (int iDrag, int dxHotspot, int dyHotspot) |
| 设置拖拽图标为指定图标与当前拖拽图标的结合,该函数调用ImageList_SetDragCursorImage
|
|
bool | SetIconSize (int cx, int cy) |
| 设置图像大小并移除所有图像,该函数调用ImageList_SetIconSize
|
|
bool | SetImageCount (UINT uNewCount) |
| 设置图像个数,该函数调用ImageList_SetImageCount
|
|
bool | SetOverlayImage (int iImage, int iOverlay) |
| 将指定的图像添加到要用作覆盖遮罩的图像列表中,该函数调用ImageList_SetOverlayImage
|
|
bool | Write (IStream *pstm) |
| 写图像列表,该函数调用ImageList_Write
|
|
|
static ImageList | Create (int cx, int cy, UINT flags, int cInitial, int cGrow) |
| 创建一个图像列表,该函数调用ImageList_Create
|
|
static ImageList | Wrap (HIMAGELIST hImageList) |
| 包装一个图像列表句柄为ImageList对象,通过该函数创建的对象析构时不会销毁句柄
|
|
static bool | Copy (const ImageList &dst, int iDst, const ImageList &src, int iSrc, UINT uFlags) |
| 复制图像,该函数调用ImageList_Copy
|
|
static bool | DragEnter (HWND hwndLock, double x, double y) |
| 锁定窗口并在指定窗口内显示拖拽图像,该函数调用ImageList_DragEnter
|
|
static bool | DragLeave (HWND hwndLock) |
| 解除窗口锁定并隐藏显示的拖拽图像,该函数调用ImageList_DragLeave
|
|
static bool | DragMove (double x, double y) |
| 拖拽移动,一般在WM_MOUSEMOVE函数中调用,该函数调用ImageList_DragMove
|
|
static bool | DragShowNolock (bool fShow) |
| 拖拽时显示或隐藏图像,该函数调用ImageList_DragShowNolock
|
|
static void | EndDrag () |
| 结束拖拽,该函数调用ImageList_EndDrag
|
|
static ImageList | GetDragImage (POINT *ppt, POINT *pptHotspot) |
| 获取拖拽中图像的列表,该函数调用ImageList_GetDragImage
|
|
static ImageList | LoadImageA (HINSTANCE hi, LPCSTR lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags) |
| 加载图像列表,该函数调用ImageList_LoadImageA
|
|
static ImageList | LoadImageW (HINSTANCE hi, LPCWSTR lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags) |
| 加载图像列表,该函数调用ImageList_LoadImageW
|
|
static ImageList | Merge (const ImageList &iml1, int i1, const ImageList &iml2, int i2, int dx, int dy) |
| 合并两个图像列表,该函数调用ImageList_Merge
|
|
static ImageList | Read (IStream *pstm) |
| 读取图像列表,该函数调用ImageList_Read
|
|