หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Resizes the current image.
Syntax
HRESULT Resize(
[in] int cxNewIconSize,
[in] int cyNewIconSize
);
Parameters
[in] cxNewIconSize
Type: int
The x-axis count, in pixels, for the new size.
[in] cyNewIconSize
Type: int
The y-axis count, in pixels, for the new size.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | commoncontrols.h |
| DLL | Comctl32.dll (version 6.0 or later) |