Diff for "Kenial-ComputerProgrammingDailyNotes" UserPreferences
 
Help Info Print View Search Diffs Edit
 À妽º   Ã£±â   Freeboard   Subjectless   Images   ÃÖ±Ù±Û 

Differences between version dated 2003-02-13 15:22:37 and 2024-11-23 19:46:11 (spanning 9 versions)
Deletions are marked like this.
Additions are marked like this.

==== 2003-01-13 ====

{{{

void CTestView::OnDraw(CDC* pDC)

{

 CTestDoc* pDoc = GetDocument();

 ASSERT_VALID(pDoc);

 CString cstrTemp;

 cstrTemp = pDC->GetRuntimeClass()->m_lpszClassName;

 // TODO: add draw code for native data here

}

}}}

OnDraw ÇÔ¼öÀÇ ÀÎÀÚ·Î ³Ñ¾î¿À´Â DC´Â ¹«½¼ DCÀϱõ¼î? »ó»óÀ» Çغ¸½Ã±æ.

 

CPaintDC ÀÌ´Ù.

CView::OnPaint¿¡¼­ È£ÃâµÊ. ¼Ò½º´Â ´ÙÀ½°ú °°À½ :

{{{

void CView::OnPaint()

{

 // standard paint routine

 CPaintDC dc(this);

 OnPrepareDC(&dc);

 OnDraw(&dc);

}

}}}

----

[ÇÁ·Î±×·¡¹ÖºÐ·ù] [ÀϱâºÐ·ù]


PythonPowered ShowText of this page
EditText of this page
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile