Kenial-Computer Programming Daily Notes | UserPreferences |
MS ³»¿¡¼µµ Çë°¡¸®¾È Ç¥±â¹ýÀº ÀÇ°ßÀÌ ºÐºÐÇÑ °ÍÀ̾ú±¸³ª ;
2003-01-21
0x000FF5C0?
dos real mode¿¡¼ÀÇ CMOS µ¥ÀÌÅÍ ÁÖ¼Ò.
2003-01-17
À©µµ µå¶óÀ̹ö °³¹ß
ÀÏ¹Ý Ä¿³Î µå¶óÀ̹ö
ÀϹÝÀûÀÎ µå¶óÀ̹ö °³¹ß
WDM
PnP, Power Management¿¡ ÁßÁ¡À» µÒ. Åë»ó GDI, ³×Æ®¿÷ µå¶óÀ̹ö´Â Æ÷ÇÔÇÏÁö ¾ÊÀ½.
ÇÊÅÍ µå¶óÀ̹ö - ƯÁ¤ ½ºÆ®¸®¹ÖÀ» µå¶óÀ̹ö·Î Àü´ÞÇϰųª Çϵå¿þ¾î¿¡ Àü´ÞÇÏ´Â ¿ªÇÒ. 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´Ù.