Quote:
Originally Posted by Razor12911
Yup, you are really tired of using other people's dlls by force. Nice! I'll wait for imgsetvisiblepart, this function is buggy in botva and layered, can't wait to try yours.
|
You can use SetImgPosSize procedure (set image position & size)
Code:
imgidx:=loadimage(ExpandConstant('{tmp}\progressbar.png'),WizardForm.Handle,100,100,30,0,IMF_Crop); // use Crop flag
DrawImages(WizardForm.Handle); // Draw progress bar width on client area at 0
SetImgPosSize(imgidx,100,100,30,10); // Increment visible progress bar width from 0 to 10 pixels