Quote:
Originally Posted by peterf1999
Code:
imgidx1:=loadimage(ExpandConstant('{tmp}\my.png'),WizardForm.Handle,0,0,450,750,IMF_Crop);
SetVisibleImgRgn(imgidx1,100,50,200,300);
DrawImages(WizardForm.Handle);
Code:
procedure SetVisibleImgRgn(ImgIdx,NewX,NewY,NewHeight,NewWidth: integer);
external 'SetVisibleImgRgn@files:Isab.dll stdcall delayload';
|
ok, got it. should be working on something now.
Quote:
Originally Posted by rinaldo
shortage of examples, in botva and in many others there are a dozen examples with the library, so you do so, that many of us use your library so fast .. not think peterf1999 
|
I don't think examples are needed for this. I mean if you read the code section from the help file that comes with Inno Setup.
which reads "
The [Code] section is an optional section that specifies a Pascal script. A Pascal script can be used to customize Setup or Uninstall in many ways. Note that creating a Pascal script is not easy and requires experience with Inno Setup and knowledge about programming in Pascal or at least a similar programming language."
The reason I'm saying there is no need for example is because simple types are always there to guide you on how to use a function, if you had a little bit of knowledge of pascal/delphi, you would know what I'm talking about and what makes peterf not make examples.