Image in window or dialog

Post Reply
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Image in window or dialog

Post by Wanderson »

Hi,

How the best way to display a jpg file in window or dialog with scrollbars and zoon in and zoon out.

Thanks.
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Image in window or dialog

Post by ukoenig »

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

http://forums.fivetechsupport.com/viewt ... om#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

Image

Image

best regards
Uwe :D
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.
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Image in window or dialog

Post by Wanderson »

Thank you ukoenig!

Work great with jpg file but oImage1:LoadBmp( "SEMIMG" ) do not load a resource image, do you know how?
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Image in window or dialog

Post by ukoenig »

You can use :

LoadImage( cResName, cBmpFile )

best regards
Uwe :D
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.
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Image in window or dialog

Post by Wanderson »

ukoenig wrote:You can use :

LoadImage( cResName, cBmpFile )

best regards
Uwe :D
Thanks ukoenig
Post Reply