void CMyVisioTextView::CreateRect()
{
// TODO: 在此添加命令处理程序代码
CMyVisioTextDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
return;
CDC* pDC;
CPen pen(PS_SOLID,2,RGB(255,0,0));
CPen *pOldPen = pDC->SelectObject(&pen);
CRect rect(10,10,10,10);
}