void GMassMobAppearGrid::InsertRow() { gint rowCount = GetRowCount(); GStageLevelGridCtrl::InsertRow(); SetCellType( rowCount, 0, RUNTIME_CLASS(CGridCellNumeric) ); SetCellType( rowCount, 1, RUNTIME_CLASS(CGridCellNumeric) ); SetCellType( rowCount, 2, RUNTIME_CLASS(CGridCellNumeric) ); SetCellType( rowCount, 2, RUNTIME_CLASS(CGridCellNumeric) ); }
void CLogSpreadSheet::SetCellValue(long nCol, long nRow, int integer, int nType) { SetInteger(nCol,nRow,integer); SetCellType(nType); SetCellNoteIndicator(3); SetTypeVAlign(SS_CELL_V_ALIGN_VCENTER); }
void CLogSpreadSheet::SetCellValue(long nCol, long nRow, LPCTSTR lpszText, int nType) { SetCol(nCol); SetRow(nRow); SetCellType(nType); SetCellNoteIndicator(3); SetTypeVAlign(SS_CELL_V_ALIGN_VCENTER); SetValue(lpszText); }