3ds Max C++ API Reference
|
Classes | |
class | MaxIcon |
class | MaxBmpFileIcon |
Implements icon support for icon images stored as image files on disk, or compiled resources in .rcc files. More... | |
Namespaces | |
MaxSDK | |
Functions | |
CoreExport HIMAGELIST | GetIconManDefaultImageList () |
CoreExport HIMAGELIST | GetIconManSmallImageList () |
CoreExport HIMAGELIST | GetIconManLargeImageList () |
CoreExport BOOL | LoadMAXFileIcon (const MCHAR *pFile, HIMAGELIST hImageList, ColorId color, BOOL disabled, BOOL applyDPIScaling=FALSE) |
Loads a bitmap file into an HIMAGELIST. More... | |
CoreExport QIcon | LoadMaxMultiResIcon (const QString &iconName) |
Loads a set of Images into a multi-resolution QIcon. More... | |
CoreExport HICON | CreateHICONFromMaxMultiResIcon (const MSTR &iconName, int width, int height, bool enabled=true, bool on=false) |
Create an HICON from a MaxMultiResIcon. More... | |
HICON | CreateHICONFromMaxMultiResIcon (const MSTR &iconName, int size, bool enabled=true, bool on=false) |
CoreExport HIMAGELIST | CreateHIMAGELISTFromMaxMultiResIcon (const MSTR &imageIconName, int size, int count, bool alpha=true, bool enabled=true, bool on=false) |
Create an HIMAGELIST from a MaxMultiResIcon. More... | |
CoreExport HIMAGELIST GetIconManDefaultImageList | ( | ) |
CoreExport HIMAGELIST GetIconManSmallImageList | ( | ) |
CoreExport HIMAGELIST GetIconManLargeImageList | ( | ) |
CoreExport BOOL LoadMAXFileIcon | ( | const MCHAR * | pFile, |
HIMAGELIST | hImageList, | ||
ColorId | color, | ||
BOOL | disabled, | ||
BOOL | applyDPIScaling = FALSE |
||
) |
Loads a bitmap file into an HIMAGELIST.
[in] | pFile | The name of the bitmap file to load. |
[in,out] | hImageList | The HIMAGELIST to load the bitmap file into. |
[in] | color | The background color |
[in] | disabled | Specifies whether icons show enabled or disabled state. |
[in] | applyDPIScaling | If true, the bitmap loaded from the file is rescaled using the UI scaling factor. |
The icon width/height used when creating the HIMAGELIST must reflect whether DPI scaling is performed. For example: