Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active bar docking
Message
From
08/01/1999 19:46:59
Victor Chigne
Inteliventas
Peru
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00174032
Message ID:
00174255
Views:
27
>Is there a way to dock DataDynamics "ActiveBar" to _screen instead of a form?
>
>Thanks.
>
>John

Here's how to put an ActiveBar in a main VFP window, known as _screen. The
challenge is that _screen will not accept olecontrol objects using
AddObject(). But here's how it's done. ActiveBar has been subclassed in
myframe.vcx as oleActiveBar_Frm. The rest you'll figure out from the code.

set library to sys(2004) + "foxtools.fll" additive
set classlib to myframe additive

of = createobj("form")
of.left = -2000
of.addobject("oa","myframe.oleactivebar_frm")
of.oa.load("menus\standard.tb")

mh = mainhwnd() && function in foxtools, gets hwnd of _screen
of.oa.detach
of.oa.attachex(mh)

(from the AB support group)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform