Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent forms
Message
From
10/01/2008 05:27:40
 
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:
01280818
Views:
22
Hi Borislav, I made a mistake, Still don't know where in my test code
Clear All
Release all
Public of,ofl
Declare SetLayeredWindowAttributes in Win32Api as _Sol_SetLWA Integer, string,integer, integer
Declare SetWindowLong in Win32Api as _Sol_SetWL  Integer, Integer, Integer


of = CreateObject('form')
of.alwaysontop = .t.

of.AddObject('film','olecontrol')
ofl = of.film
ofl.Visible = .t.
of.visible = .t.
ofl.width = 150
ofl.height = 150

_Sol_SetWL(of.hWnd,-20, 0x00080000)
_Sol_SetLWA(of.hwnd,0,255,2)
Then i load by command window the mediaplayer control and try to test commands. But now I saw that if i load the control on the Form provided by the VFP example it works.... So there would be something wrong in my coded :)
Thank you for the help :)
Ciao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform