CGXTabWnd::RemoveTab

void RemoveTab(int nTabToDelete);

void RemoveTab(CWnd* pWnd);

nTabToDelete

Specifies the zero-based index for the sheet to be removed.

pWnd

A pointer to the window object to be removed.

Remarks

Removes the specified sheet window from the workbook.

The window will be destroyed with DestroyWindow and the tab removed from the tab beam with CGXTabBeam::DeleteTab.

If the window was the active sheet, the next sheet will be activated.

See Also

 CGXTabBeam::DeleteTab

CGXTabWnd

 Class Overview |  Class Members