Solved

dockable activex control

Posted on 1999-01-18
6
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need a Shell script to start a service checking the port 6 56
How to know only "File created" with EventLog 3 35
wait notify demo infinite loop 3 151
changeXy challenge 13 98
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

752 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