فى الحقيقة انا مشترك جديد
و اود ان اسال عن الدرئ المزدوج ولا اعرف ان كنتم تسمونه كذلك
انا على حد معلوماتى اعرف انه ترجمةDouble Buffering ايام ال جافا
اسال عن كيفية عمل ذلك فى Visual C++
void CConnectTheDotsView::OnDraw(CDC* pDC)
{
CConnectTheDotsDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
//Draw the dots
for(int i=0;im_oaPoints.GetSize();i++)
{
//Get the Point
CMyPoint* ptFromPoint = (CMyPoint*)pDoc->m_oaPoints;
for(int j=0;jm_oaPoints.GetSize();j++)
{
CMyPoint* ptToPoint = (CMyPoint*)pDoc->m_oaPoints[j];
pDC->MoveTo(ptFromPoint->m_dX,ptFromPoint->m_dY);
pDC->LineTo(ptToPoint->m_dX,ptToPoint->m_dY);
}
}
}ارجو منكم عمل الدرئ لهذه الدالة