Example
The following example inserts a sheet.
C++
BOOL CTestSpread7DllDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set sheet count
spr->SetSheetCount(4);
}
void CTestSpread7DllDlg::OnButton1()
{
// Insert one sheet in front of sheet 2
spr->InsertSheets(2,1);
}