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

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

Clear message


2003-01-20

Ä¿³Î ¸ðµå ÇÁ·Î±×·¡¹Ö... ´ëü ¹» ºÁ¾ß ÇѴٴ°ųÄ. =_=

À©µµ ÇÁ·Î±×·¡¹ÖÀÇ ±æÀº ¸Ö°í ÇèÇÏ´©³ª..

2003-01-17

À©µµ µå¶óÀ̹ö °³¹ß

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); 
} 
¿ö°¼­ À̵ý ÁþÀ» ÇßÀ»±î...

ã¾Æº¸´Ï OnDraw?()´Â OnPaint?().. Áï WM_PAINT ¸Þ½ÃÁö¸¦ ¹Þ¾ÒÀ»¶§¸¸ È£ÃâµÇ´Â°Ô ¾Æ´Ï¶ó,
OnPrint?() .. ÀÌ°Ç ¹º ¸Þ½ÃÁöÀÎÁö´Â ¸ð¸£°Ú´Ù¸¸ -_-; Á¿찣 ÇÁ¸°ÆÃÀ» ¼öÇàÇÏ´Â ¸Þ½ÃÁö¸¦
¹Þ¾ÒÀ»¶§µµ È£ÃâµÈ´Ù.

¾Æ¸¶µµ, È­¸é¿¡ ±×¸®µç ÇÁ¸°ÅÍ¿¡ ±×¸®µç.. ±×¸®´Â ³»¿ë¸¸À» OnDraw?()¿¡ Áý¾î³Ö¾î
ó¸®ÇÏ°íÀÚ ÇÏ´Â ¸ñÀûÀÌ ÀÖ´Â µí..

Âü°í·Î, OnPaint?()°¡ È£ÃâµÇ¾úÀ» ¶§ OnDraw?()¿¡ ³Ñ¾î¿À´Â °´Ã¼´Â °Á CDC´Ù.


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


PythonPowered EditText of this page (last modified 2003-02-13 15:22:39)
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile