¿¬½ÀÀå(´Ù¹ö¸®°í °©´Ï´Ù...)-³²±æ ±ÛÀÌ ÀÖÀ¸¸é ¹Î°¡ÃÌ¿¡ ³²°ÜÁֽðí, ȸ¿ø °¡ÀÔÀ» ¹ÞÁö ¾Ê½À´Ï´Ù. |
---|
2016/04/06 (19:50) from 124.137.60.57' of 0' | Article Number : 1087 |
... | Access : 1374 , Lines : 22 |
MFC¿¡¼ DIRECT3D »ç¿ëÇϱâ |
---|
Download : MFC_Direct3D9.zip
(46 Kbytes)
|
Ãâó ; http://microsoft.tistory.com/56 MFC¿¡¼ Direct3D9¸¦ ÃʱâÈÇÏ°í, ½Ç½Ã°£ ·£´õ±îÁö ±¸ÇöµÈ ¼Ò½ºÄÚµåÀÔ´Ï´Ù. Leechen´Ô ȨÆäÀÌÁö ÀÚ·á½Ç¿¡¼ °¡Á®¿ÔÀ¸¸ç, ÃâÀú´Â µ¥ºêÇǾƶó°í ÇÕ´Ï´Ù. ¹®Á¦´Â ºä°¡ °»½ÅµÉ¶§, ȸéÀÇ ¹ø½°Å¸² Çö»óÀÌ ÀÖ´Ù°í ÇÕ´Ï´Ù. (Visual Studio 6.0) ÇØ°á¹æ¹ýÀº ¾Æ·¡¿Í °°½À´Ï´Ù. View Ŭ·¡½º¿¡¼ WM_ERASEBKGND ¸Þ½ÃÁö¸¦ µî·ÏÇÕ´Ï´Ù. µî·ÏÇÏ°Ô µÇ¸é, ¾Æ·¡¿Í °°Àº ÇÔ¼ö°¡ »ý¼ºµË´Ï´Ù. ¿©±â¼ return CView::OnEraseBkgnd(pDC); ºÎºÐÀ» ÁÖ¼®Ã³¸®ÇÕ´Ï´Ù. ±×¸®°í ±× À§¿¡ return FALSE; ¸¦ »ðÀÔÇÕ´Ï´Ù. BOOL COOOView::OnEraseBkgnd(CDC* pDC) { // TODO: Add your message handler code here and/or call default return FALSE; //return CView::OnEraseBkgnd(pDC); } |