Solved

Docking Mini Frame Windows

Posted on 1997-03-31
10
418 Views
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
jbartlett@qualcomm.com
0
Comment
Question by:jbartlet
10 Comments
 
LVL 2

Expert Comment

by:sapek
Comment Utility
To get MFC's docking functionality derive your window class from CControlBar (or one of derivities).

Adam

0
 

Author Comment

by:jbartlet
Comment Utility

0
 
LVL 23

Expert Comment

by:chensu
Comment Utility
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.

0
 

Author Comment

by:jbartlet
Comment Utility
I have gone through this documentation, and I can't find any info on docking mini-frame windows.
0
 

Expert Comment

by:LeoV
Comment Utility
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...
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:jbartlet
Comment Utility
My compiler pukes on CMiniDockFrameWnd (i.e. no such animal).
0
 

Expert Comment

by:LeoV
Comment Utility
Try to include Afxpriv.h. It is declared there.
0
 

Author Comment

by:jbartlet
Comment Utility
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?
0
 

Expert Comment

by:LeoV
Comment Utility
It is undocumented stuff, so if you want functionality, exanine sourse code.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 50 total points
Comment Utility
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)http://www.ddj.com/ftp/1996/1996.01/grid.zip
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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 …
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now