Lets Reflect a bit on GDI+
One of the things I wanted was to be able to drop an image object on my form, set its picture property to an image and have the image "reflection" visible, which gives a very good effect.
Well now that we have the GDI+x classes that is no longer a wish, but a fact.
This implementation requires the GDI+x classes available from the VFPX site.Go get them.
Basically the Imagecanvas is used, its picture property is set to your picture and the height of the reflection in pixels is set. That is all. Note that you can also use the Stretch and Anchor properties.

Also note that you need to allow space at the bottom of the image for the reflection, depending on the value you set in the "nReflectivity" property of the class. This is the height of the reflection you require, in pixels.
Basically the class resizes itself to accomodate the reflection, draws the original picture, flips and redraws the picture, then applies a transparent gradient to the bottom part to give the fading effect.
In the sample form attached I have added a number of Reflection objects with different nReflectivity values to show the effect. Also the class can be dropped into a container as I have also done. However you cannot use these on any form with a picture as its background.
The form along with the class can be downloaded from the link below.
On running the sample form, the class does its magic as you can see below.

Now lets reflect on that.
Unfortunately because of the amount of junk mail being generated from the weblog I have switched off comments. Please post your comments, if any, at www.foxite.com