Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.
Syntax
BOOL ImageList_GetIconSize(
HIMAGELIST himl,
int *cx,
int *cy
);
Parameters
himl
Type: HIMAGELIST
A handle to the image list.
cx
Type: int*
A pointer to an integer variable that receives the width, in pixels, of each image.
cy
Type: int*
A pointer to an integer variable that receives the height, in pixels, of each image.
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |
| Library | Comctl32.lib |
| DLL | Comctl32.dll |