コード例 #1
0
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) );
}
コード例 #2
0
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);
}
コード例 #3
0
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);
}