Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

dockable activex control

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

0
zluke
Asked:
zluke
1 Solution
 
migelCommented:
Hmm.
Can you just derive your own class from the CDialogBar?
0
 
Tommy HuiCommented:
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.
0
 
zlukeAuthor Commented:
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
zlukeAuthor Commented:
May be more difficult than my image.
0
 
yuryzCommented:
its impossible (at least in MFC). the only way to get through is to make that control to be inserted in docking-aware window, like CDialogBar. Its not ANY hard. Just create control and add it as child into your DialogBar-derived window and adjust it size as you want. Go for it, it works !
0
 
zlukeAuthor Commented:
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.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now