Export (0) Print
Expand All
Expand Minimize

CMDIFrameWndEx::MDITabNewGroup

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()
{
	MDITabNewGroup(FALSE);
}

Header: afxMDIFrameWndEx.h

Show:
© 2014 Microsoft