Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form with transparent background or round edges
Message
 
 
À
03/12/2001 03:08:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00588596
Message ID:
00588622
Vues:
27
Hi!

Its extremely hard to make form transparent without special programming or using special effect (that I know bad). But you can make a form with round edges or any shape form (even with round holes inside it which allow to click mouse "through" the form to select icons on desktop, for example ;). To do this, use API functions "Create*Rgn" and SetWindowRgn(). Note that it is wise to make form without title bar when using custom-shape form.

HTH.

>is it possibele to make the backstyle of a toplevelform transparent or change the edges of a form to round?
>I'm trying to make a form like Windows Mediaplayer 7 with a transparent GIF as Picture but on the transparent round edges the grey of the form shines through.
>
>Is there a workaround maybe to make the picture larger then the form etc. ´
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform