程序中的小疑问 帮解答下
											 CClientDC dc(this);
  CPen pen(PS_SOLID,1,RGB(255,0,0));
  CPen *poldpoint = dc.SelectObject(&pen);//1
  dc.MoveTo(ba);
  dc.LineTo(point);
  ba=point;
        dc.SelectObject(poldpoint);  //2
与
  CPen pen(PS_SOLID,1,RGB(255,0,0));
  dc.SelectObject(&pen);   //3           
  dc.MoveTo(ba);
  dc.LineTo(point);
  ba=point;
       
这两个代码区别是什么 详细些 谢谢了



 
											





 
	    

 
	


