 |
| How to make a VFP form fading out when released (GDI version) |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
| Before you begin: |
 |
When a VFP form is released, usually it disappears immediately. Wouldn`t it be nice to have a form slowly (or less slowly) fading out?
An obvious way of doing that is covering the form with another window, which holds the image of the original form. Once covered, the original form disappears. After that the covering window gradually changes its opacity (alpha channel) from opaque (255) to completely transparent (0).
This code sample is based on solely GDI calls, no GDI+ library is required. Beside fading, the form is shrinking too.
See also:
How to make a VFP form fading out when released (GDI+ version)
How to draw custom Window Caption on FoxPro form
Animating a transition of the VFP form (a wire-frame rectangle)
|
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 10568 bytes Created: 2007-04-24 16:23:35 Modified: 2009-03-03 14:41:02 Visits in 7 days: 142 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|