FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Image in window or dialog
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Image in window or dialog
Posted: Mon Sep 28, 2015 01: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.

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Image in window or dialog
Posted: Mon Sep 28, 2015 01: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







best regards
Uwe :-)
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.
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Re: Image in window or dialog
Posted: Tue Sep 29, 2015 01:38 PM

Thank you ukoenig!

Work great with jpg file but oImage1:LoadBmp( "SEMIMG" ) do not load a resource image, do you know how?

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Image in window or dialog
Posted: Tue Sep 29, 2015 02:14 PM
You can use :

LoadImage( cResName, cBmpFile )

best regards
Uwe :-)
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.
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Re: Image in window or dialog
Posted: Wed Sep 30, 2015 07:10 PM
ukoenig wrote:You can use :

LoadImage( cResName, cBmpFile )

best regards
Uwe :-)


Thanks ukoenig

Continue the discussion