參考4樓改的
Duvet 发表于 2010-8-16 01:37 
你已经比我等菜鸟厉害很多了!第一个吃螃蟹的人,同样值得钦佩!
lynfr8 发表于 2010-8-17 02:44  Func _WinAPI_LoadImage($hInstance, $sImage, $iType, $iXDesired, $iYDesired, $iLoad)
Local $aResult, $sImageType = "int"
If IsString($sImage) Then $sImageType = "wstr"
$aResult = DllCall("user32.dll", "handle", "LoadImageW", "handle", $hInstance, $sImageType, $sImage, "uint", $iType, "int", $iXDesired, _
"int", $iYDesired, "uint", $iLoad)
If @error Then Return SetError(@error, @extended, 0)
Return $aResult[0]
EndFunc ;==>_WinAPI_LoadImage
死的心都有了...orz... 差在哪儿了呢- - |