共用方式為


CMDIFrameWndEx::ControlBarToTabbedDocument

Converts the specified docking pane to a tabbed document.

virtual CMDIChildWndEx* ControlBarToTabbedDocument(
   CDockablePane* pBar 
);

Parameters

  • pBar
    A pointer to the docking pane to convert.

Return Value

Returns a pointer to the new MDI child window that contains the docking pane.

Remarks

This method converts a docking pane to a tabbed document. When you call this method, the framework creates a CMDIChildWndEx Class object, removes the docking pane from the docking manager, and adds the docking pane to the new MDI child window. The MDI child window resizes the docking pane to cover the entire client area

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart