Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a window background transparent
Message
 
À
31/12/1998 12:12:30
Rob Gordon
Xon Digital Communications Ltd.
Dartmouth, Nouvelle-Écosse, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00171927
Message ID:
00172062
Vues:
30
Hi Rob,

>Does anyone know a way (using a WINAPI call) to make a form's background transparent (ie Backstyle) . There is a way to create a window with this transparent feature (using CreateWindowEX) but can you modify an existing one ?

In theory, yes, by setting a flag in the extended properties of a window. But in practice this will only affect the title bar. Under some circumstances I was able to create a transparent window this way. I think I made it invisible, changed the property and then made it visible again. But in some situations the form was repainted with the gray back ground. So it was not useable in real applications.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform