Computer Programming Daily Notes UserPreferences
 
Help Info Print View Search Diffs Edit
 À妽º   Ã£±â   Freeboard   Subjectless   Images   ÃÖ±Ù±Û 

Version as of 2003-02-13 15:22:20

Clear message


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 EditText of this page (last modified 2003-02-13 15:22:20)
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile