Image in window or dialog

Image in window or dialog

Postby Wanderson » Mon Sep 28, 2015 1:10 pm

Hi,

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

Thanks.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Image in window or dialog

Postby ukoenig » Mon Sep 28, 2015 1:35 pm

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

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Image in window or dialog

Postby Wanderson » Tue Sep 29, 2015 1:38 pm

Thank you ukoenig!

Work great with jpg file but oImage1:LoadBmp( "SEMIMG" ) do not load a resource image, do you know how?
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Image in window or dialog

Postby ukoenig » Tue Sep 29, 2015 2:14 pm

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Image in window or dialog

Postby Wanderson » Wed Sep 30, 2015 7:10 pm

ukoenig wrote:You can use :

LoadImage( cResName, cBmpFile )

best regards
Uwe :D


Thanks ukoenig
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 103 guests