Image-selector Rel.1.2 UPDATE

Image-selector Rel.1.2 UPDATE

Postby ukoenig » Sat Jan 14, 2012 11:42 am

Hello,

I finished my new Image-selector.
This tool is a nice sample, how to use Class TTitle.

Download ( 4.5 MB ) :
Full Source and a GDI-viewer is included

http://www.pflegeplus.com/fw_downloads/Imgsel1.zip

This screen is shown in case NO Image is selected.
As well it shows, how to place a Watermark on Top of a Image.

You can change the Dialog-background :
// nStyle
// 1 = Color, 2 = Gradient, 3 = Brush, 4 = Image
// D_BACKGRD( oDlg, nStyle, lDirect, nColor1, nColor2, nMove, cBrush, cImage )
D_BACKGRD( oDlg, 2, .T., 10899511, 16777215, 0.5, "Marble5.bmp", "Fantasy2.jpg" )


Image

The Frame is adjusted to Image-size, keeping the original Width and Height-relation
Image

A Image < Frame, is shown with original Size 1:1
Image

You can switch to Mode : Buttons, to show alphablended BMP's,
A oversized Image will be adjusted to the Frame
Image

The original Size
Image

A zoomed Image.
You will get a Errormessage in case a Image cannot displayed with a selected
Zoomfactor inside the Frame.
Image

Use GDIView, to detect any GDI-leaks.
Image

Best Regards
Uwe :lol:
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-selector Rel.1.2 UPDATE

Postby ukoenig » Sat Jan 14, 2012 11:19 pm

Hello,

Update 1.2
Possible to change the Dialog-brush.
( uses App.-relaunch and INI-file )

Download ( 4.8 MB ) :

http://www.pflegeplus.com/fw_downloads/Imgsel2.zip

Image

Best Regards
Uwe :lol:
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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests