Solved

dockable activex control

Posted on 1999-01-18
6
171 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

803 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