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