Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with transparent background or round edges
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00588596
Message ID:
00588739
Views:
25
Vlad,
Here is a nice easy to use pc of code, which shows what you are talking about

http://www.news2news.com/vfp/?example=-1&xpg=1
Bob Lee

>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. ´
In the beginning, there was a command prompt, and all was well.
Previous
Reply
Map
View

Click here to load this message in the networking platform