Link to home
Start Free TrialLog in
Avatar of zluke
zluke

asked on

dockable activex control

Can any person make a ActiveX control which with ablity of docking in an framework.

Avatar of migel
migel

Hmm.
Can you just derive your own class from the CDialogBar?
Derive a class from CToolBar. Override Init() and CalcDynamicLayout(). In the Init() function, create your ActiveX control. This will put the ActiveX control in the toolbar. In the CalcDynamicLayout() function, resize the ActiveX control to match whatever size is passed in for the toolbar.
Avatar of zluke

ASKER

Hi, thui

I want a new ActiveX Control which with ablity to dock in
framework, not use this activex control in a dockable toolbar.

Can you have any suggestion?

Thank you above answer.
Avatar of zluke

ASKER

May be more difficult than my image.
ASKER CERTIFIED SOLUTION
Avatar of yuryz
yuryz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zluke

ASKER

To yuryz:
It's kind for you to answer my question, although I can't
create a new ocx with itself's ablity of docking.
Thanks a lot.