Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with transparent background or round edges
Message
From
03/12/2001 06:15:22
 
 
To
03/12/2001 03:08:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00588596
Message ID:
00588622
Views:
26
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform