• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • 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 HuiEngineerCommented:
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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