Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Converts the specified tabbed document to a docking pane.

virtual BOOL TabbedDocumentToControlBar(
   CMDIChildWndEx* pMDIChildWnd 

A pointer to MDI child window that contains a docking pane.

TRUE if the method was successful, FALSE on failure.

Use this method to convert a tabbed document to a docking pane. The tabbed document must have been created by using CMDIFrameWndEx::ControlBarToTabbedDocument.

The following example shows how TabbedDocumentToControlBar is used in the VisualStudioDemo Sample: MFC Visual Studio Application.

void CMainFrame::OnMdiTabbedDocument()
	CMDIChildWndEx* pMDIChild = DYNAMIC_DOWNCAST(CMDIChildWndEx, MDIGetActive());
	if (pMDIChild == NULL)


Header: afxMDIFrameWndEx.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.