Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent forms
Message
De
10/01/2008 05:08:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01280806
Message ID:
01280815
Vues:
28
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)
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform