Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent forms
Message
 
To
10/01/2008 03:12:52
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:
01280813
Views:
19
>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)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform