小弟我是初学者,哪位高手能帮小弟我分析一下这段程序,需要每句每句的分析,非常感谢

我是菜鸟,谁能帮我分析一下这段程序,需要每句每句的分析,非常感谢。
void CpicviewDlg::redraw(void)
{

CDC* pDC = m_staPrev.GetDC();
Graphics graph(pDC->GetSafeHdc());
CRect rect;

m_staPrev.GetClientRect(rect);
pDC->FillRect(rect, &CBrush(RGB(211, 211, 211)));

int nIndex = m_strPath.ReverseFind('\\');

CString strTemp = m_strPath.Left(nIndex);

------解决方案--------------------
C/C++ code
CDC* pDC = m_staPrev.GetDC();//得到**的DC
Graphics graph(pDC->GetSafeHdc());//用pDC构造一个Graphics对像
CRect rect;//矩形区域

m_staPrev.GetClientRect(rect);//得到**的客户区区域
pDC->FillRect(rect, &CBrush(RGB(211, 211, 211)));//填充这个区域

int nIndex = m_strPath.ReverseFind('\\');//在m_strPaht从后向前找到'\',返回其索引

CString strTemp = m_strPath.Left(nIndex);//strTemp = m_strPath左边,nIndex长度的的内容,