Solved

dockable activex control

Posted on 1999-01-18
6
172 Views
Last Modified: 2013-11-20
Can any person make a ActiveX control which with ablity of docking in an framework.

0
Comment
Question by:zluke
6 Comments
 
LVL 12

Expert Comment

by:migel
ID: 1327921
Hmm.
Can you just derive your own class from the CDialogBar?
0
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1327922
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
 

Author Comment

by:zluke
ID: 1327923
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 

Author Comment

by:zluke
ID: 1327924
May be more difficult than my image.
0
 
LVL 1

Accepted Solution

by:
yuryz earned 180 total points
ID: 1327925
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
 

Author Comment

by:zluke
ID: 1327926
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question