CGXTabWndAdapter::InsertWorkSheet

virtual BOOL InsertWorkSheet(int nInsertBefore, CRuntimeClass* pViewRuntimeClass, CCreateContext* pContext, const TCHAR* pszLabel = 0, UINT nID = 0) = 0;

nInsertBefore

The index of the tab to insert the new worksheet (before)

pViewRuntimeClass

The runtime class of the new worksheet to be inserted.

pContext

Create context to be used for creating the worksheet

pszLabel

Label of the worksheet

nID

ID to be used for the tab

Remarks

Override and implement to enable inerting a worksheet.

See Also

 CGXTabWndAdapter::DeleteWorkSheet

CGXTabWndAdapter

 Class Overview |  Class Members