我用的是komaau3的自绘窗口_UDF.au3,绘制按钮的代码为:For $i = 1 To UBound($a_Button)-1
If $hWnd == DllStructGetData($a_Button[$i], "owner") Then
$hImage = DllStructGetData($a_Button[$i], "img_normal")
If Not $hImage Then ContinueLoop
_GDIPlus_GraphicsDrawImageRectRect($hGraphic, $hImage, 0, 0, _GDIPlus_ImageGetWidth($hImage), _GDIPlus_ImageGetHeight($hImage), _
DllStructGetData($a_Button[$i], "left"), DllStructGetData($a_Button[$i], "top"), _
DllStructGetData($a_Button[$i], "width"), DllStructGetData($a_Button[$i], "heigth"))
EndIf
Next
请问如何删除这样绘制出来的Button空间 |