Docking Mini Frame Windows

Posted on 1997-03-31
Last Modified: 2013-11-20
I have leaned how to create mini frame windows in Brain and
Lovette's book, but I can't figure out how to dock them.  I'm trying to a achieve functionality similar to the docking tool bars in the Visual C++ IDE.  Thanks in advance
Jeff Bartlett
Question by:jbartlet
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

Expert Comment

ID: 1300762
To get MFC's docking functionality derive your window class from CControlBar (or one of derivities).



Author Comment

ID: 1300763

LVL 23

Expert Comment

ID: 1300764
The following documentations give you more information about it:
Visual C++ Books/MFC 4.2/Programming with MFC: Encyclopedia
1. Control Bars;
2. Toolbars: Docking and Floating;
3. Frame Windows.

There is also a MFC General sample DOCKTOOL.

Technology Partners: 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

ID: 1300765
I have gone through this documentation, and I can't find any info on docking mini-frame windows.

Expert Comment

ID: 1300766
Use CMiniDockFrameWnd instead of CMiniFrameWnd. It is not documented, so you have to go trough MFC code yourself if you want to know functionality. Or you can adjast points little bit...

Author Comment

ID: 1300767
My compiler pukes on CMiniDockFrameWnd (i.e. no such animal).

Expert Comment

ID: 1300768
Try to include Afxpriv.h. It is declared there.

Author Comment

ID: 1300769
This now pukes on the create function.  Is this undocumented stuff that only microsoft knows about?  It's not in books, it's not in online help, how do I now figure out what create needs?  What other bombs am I going to run into?

Expert Comment

ID: 1300770
It is undocumented stuff, so if you want functionality, exanine sourse code.
LVL 10

Accepted Solution

RONSLOW earned 50 total points
ID: 1300771
If you want something more concrete, have a look at the sample code for DrDobbs, Jan 1996 edition where Scott Wingo presents his WorkBook example (with FULL source code) which implements a VC Dev Studio like interface -- really cool stuff.Here is the URL for it (from DDJ site)

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Change owner from userA to server Local Administrators 7 71
difference between String.subString() and String.subSequence() 6 268
Line meaning 9 91
Path of Workbook 3 87
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.

733 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