• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

Docking Mini Frame Windows

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
jbartlet
Asked:
jbartlet
1 Solution
 
sapekCommented:
To get MFC's docking functionality derive your window class from CControlBar (or one of derivities).

Adam

0
 
jbartletAuthor Commented:

0
 
chensuCommented:
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
Industry Leaders: 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!

 
jbartletAuthor Commented:
I have gone through this documentation, and I can't find any info on docking mini-frame windows.
0
 
LeoVCommented:
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
 
jbartletAuthor Commented:
My compiler pukes on CMiniDockFrameWnd (i.e. no such animal).
0
 
LeoVCommented:
Try to include Afxpriv.h. It is declared there.
0
 
jbartletAuthor Commented:
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
 
LeoVCommented:
It is undocumented stuff, so if you want functionality, exanine sourse code.
0
 
RONSLOWCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now