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)
>