Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Splash screen form transparent
Message
From
10/10/2006 11:32:56
 
 
To
08/10/2006 07:54:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01158737
Message ID:
01160882
Views:
18
Hi Cetin

There is only 1 API in XP for this and that is SetLayeredWindowAttributes API.

With this you can make a form and ALL its contents transparent. Or you can make a part of the form invisible. This way you can click through the form. I cannot see any use for a form that is invisible though.

Only Vista has the API's to make part of the form transparent while keeping other parts opaque. The VFP sample shows a form and ALL contents transparent, not the form transparent and the objects on it opaque. To do that in XP requires some tricky coding - samples on my blog.


>Hmm I wouldn't say it before checking samples. I remember I saw foxhead with the rest of form was transparent (well not transparent really -you can click on the form behind-, it was doable with winapi before VFP9 and 8 and I think the winAPI code exists here on downloads).
>Cetin
>
>>Thanks Bernard!
>>I will check it.
>>
>>>You cannot make only a part of the form transparent. It is either the complete form or not at all. This includes the form, and all controls it contains. The sample is part of the VFP sample.app in:
>>>
>>>c:\VFP\Samples\Sample.app
>>>
>>>However
>>>
>>>You could simulate this effect though by using an Alphachannel PNG.
>>>
>>>See:
>>>http://weblogs.foxite.com/bernardbout/archive/2006/09/11/2436.aspx
>>>
>>>for a way to simulate a transparent area of a "form"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform