Example
The following example moves a sheet.
C++
BOOL CTestSpread7DllDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set sheet count
spr->SetSheetCount(4);
}
void CTestSpread7DllDlg::OnButton1()
{
// Move the sheet
spr->MoveSheets(2,1,3);
}