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" )

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

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

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

The original Size

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

Use GDIView, to detect any GDI-leaks.

Best Regards
Uwe
