UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:commctrl.ImageList_SetImageCount |
ImageList_SetImageCount function (commctrl.h) |
Resizes an existing image list. (ImageList_SetImageCount) |
|
controls\ImageList_SetImageCount.htm |
Controls |
VS|Controls|~\controls\imagelist\functions\imagelist_setimagecount.htm |
12/05/2018 |
ImageList_SetImageCount, ImageList_SetImageCount function [Windows Controls], _win32_ImageList_SetImageCount, _win32_ImageList_SetImageCount_cpp, commctrl/ImageList_SetImageCount, controls.ImageList_SetImageCount, controls._win32_ImageList_SetImageCount |
commctrl.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Comctl32.lib |
Comctl32.dll |
Windows |
19H1 |
|
|
|
|
|
|
Resizes an existing image list.
Type: HIMAGELIST
A handle to the image list that will be resized.
Type: UINT
A value specifying the new size of the image list.
Type: BOOL
Returns nonzero if successful, or zero otherwise.
If an application expands an image list with this function, it must add new images by using the ImageList_Replace function. If your application does not add valid images at the new indexes, draw operations that use the new indexes will be unpredictable.
If you decrease the size of an image list by using this function, the truncated images are freed.