13,870
社区成员




void __fastcall TForm1::StringGrid1DrawCell(TObject *Sender, int ACol,
int ARow, TRect &Rect, TGridDrawState State)
{
DrawText(StringGrid1-> Canvas-> Handle, StringGrid1-> Cells[ACol][ARow].c_str(),
-1, (RECT*)&Rect, DT_SINGLELINE | DT_VCENTER | DT_CENTER);
}