函数参考


_WinAPI_DrawThemeIcon

Draws an image from an image list with the icon effect defined by the visual style.

#Include <WinAPIEx.au3>
_WinAPI_DrawThemeIcon ( $hTheme, $iPartId, $iStateId, $hDC, $tRECT, $hIL, $iIndex )

参数

$hTheme Handle to a window's specified theme data.
$iPartId The part in which the image is drawn.
$iStateId The state of the part.
$hDC Handle to the device context.
$tRECT $tagRECT structure that contains the rectangle in which the image is drawn.
$hIL Handle to an image list that contains the image to draw.
$iIndex The index of the image to draw.

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码.

注意/说明

None

相关

详情参考

在MSDN中搜索