麻烦各位看下这段代码是什么意思,能帮我标上注释吗
void CShowDlg::OnDeleteRecord() {
// TODO: Add your control notification handler code here
int nIndex = m_recordArea.GetCurSel();
CString strRecord;
strRecord.Format("%d", nIndex+1);
m_recordArea.DeleteString(nIndex);
m_recordArea.InsertString(nIndex, strRecord);
m_recordArea.SetCurSel(nIndex);
}
尤其是那个Format那句到底是什么意思??? 万分感谢