Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Creates a new tabbed group that has a single window.

void MDITabNewGroup(
   BOOL bVert=TRUE 

[in] bVert

Specifies the new group alignment. If TRUE, the new group is aligned vertically. If FALSE, the new group is aligned horizontally.

Use this function to create a new tabbed window (new tabbed group) and add the first tab to it.

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

void CMainFrame::OnMdiNewHorzTabGroup()

Header: afxMDIFrameWndEx.h

© 2015 Microsoft