Hi,
How the best way to display a jpg file in window or dialog with scrollbars and zoon in and zoon out.
Thanks.
Image in window or dialog
Re: Image in window or dialog
Hello Wanderson,
there are some tools You can test :
I think You will find the infos You need
A painter :
1. any background-combination of Window/Dialog
2. gradient-painter and Image / Brush selector
3. test of function SETGRADIENT ( Grad(B) = Brush or Grad(F) = Function )
4. zoom using Mouseclick, Buttons or Tselex
5. create a PRG- and EXE-file
6. embedded PIXELFORMER to work on a Image
7. GDI-test
8. a included extra Editor, loading the PRG
9. test from CODE or RESOURCE
10. selections are saved/restored to/from INI
viewtopic.php?f=3&t=24453&p=132297&hilit=zoom#p132297
or :
Image centered on defined image.
Alpha on JPG and jpg on jpg ( or other formats )
select any combination of image 1 and image 2
Download ( complete with exe, prg and images ) :
http:((http://www.pflegeplus.com/DOWNLOADS/Center2.zip
Images to be loaded from the subdirectory /IMAGES
![Image](http://www.pflegeplus.com/IMAGES/Center3a.jpg)
![Image](http://www.pflegeplus.com/IMAGES/Center1.jpg)
![Image](http://www.pflegeplus.com/IMAGES/Center2.jpg)
best regards
Uwe![Very Happy :D](./images/smilies/icon_biggrin.gif)
there are some tools You can test :
I think You will find the infos You need
A painter :
1. any background-combination of Window/Dialog
2. gradient-painter and Image / Brush selector
3. test of function SETGRADIENT ( Grad(B) = Brush or Grad(F) = Function )
4. zoom using Mouseclick, Buttons or Tselex
5. create a PRG- and EXE-file
6. embedded PIXELFORMER to work on a Image
7. GDI-test
8. a included extra Editor, loading the PRG
9. test from CODE or RESOURCE
10. selections are saved/restored to/from INI
viewtopic.php?f=3&t=24453&p=132297&hilit=zoom#p132297
or :
Image centered on defined image.
Alpha on JPG and jpg on jpg ( or other formats )
select any combination of image 1 and image 2
Download ( complete with exe, prg and images ) :
http:((http://www.pflegeplus.com/DOWNLOADS/Center2.zip
Images to be loaded from the subdirectory /IMAGES
![Image](http://www.pflegeplus.com/IMAGES/Center3a.jpg)
![Image](http://www.pflegeplus.com/IMAGES/Center1.jpg)
![Image](http://www.pflegeplus.com/IMAGES/Center2.jpg)
best regards
Uwe
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
Re: Image in window or dialog
Thank you ukoenig!
Work great with jpg file but oImage1:LoadBmp( "SEMIMG" ) do not load a resource image, do you know how?
Work great with jpg file but oImage1:LoadBmp( "SEMIMG" ) do not load a resource image, do you know how?
Re: Image in window or dialog
You can use :
LoadImage( cResName, cBmpFile )
best regards
Uwe![Very Happy :D](./images/smilies/icon_biggrin.gif)
LoadImage( cResName, cBmpFile )
best regards
Uwe
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
Re: Image in window or dialog
ukoenig wrote:You can use :
LoadImage( cResName, cBmpFile )
best regards
Uwe
Thanks ukoenig