CMDIFrameWndEx::MDITabNewGroup
TOC
Collapse the table of content
Expand the table of content

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.

Example

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

void CMainFrame::OnMdiNewHorzTabGroup()
{
	MDITabNewGroup(FALSE);
}

Requirements

Header: afxMDIFrameWndEx.h

Show:
© 2016 Microsoft