Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent forms
Message
From
10/01/2008 05:08:44
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01280806
Message ID:
01280815
Views:
24
Hi Borislav
I don't have the reference hWnd for the ActiveX object....
>>Hi all
>>I was trying to use the transparent form example provided by VFP.
>>I noticed that it does not work if I load an Activex control on the form.
>>I tried with a MediaPLayer control and with a Calendar one.
>>Anybody knows hot to manage this feature with those kind of controls ?
>>
>>Thanks
>>Alessio
>
>No tested, but try:
>Use the same code that you use to make Form Tansparent with the ActiveX hWnd.
>Something like:
>(code is taken from VFP example0
>
>LOCAL lnValue
>DO CASE
>CASE THIS.Value = 0
>	lnValue = 0
>CASE THIS.Value = 25
>	lnValue = 255
>OTHERWISE
>	lnValue = THIS.Value * 10
>ENDCASE
>_Sol_SetLayeredWindowAttributes(THISFORM.hWnd, 0, lnValue, 2)
>_Sol_SetLayeredWindowAttributes(THISFORM.ActiveX.hWnd, 0, lnValue, 2)
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform