View Single Post
  #38  
Old 26-10-2015, 10:11
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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
Reply With Quote
The Following 2 Users Say Thank You to peterf1999 For This Useful Post:
RamiroCruzo (27-10-2015), Razor12911 (26-10-2015)