HelloMFC - #include <afxwin.h> / . class CHelloApp :...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <afxwin.h> # // ÀÀ¿ë ÇÁ·Î±×·¥ Ŭ·¡½º¸¦ ¼±¾ðÇÑ´Ù. class CHelloApp : public CWinApp { public: virtual BOOL InitInstance (); }; } // ¸ÞÀÎ À©µµ¿ì Ŭ·¡½º¸¦ ¼±¾ðÇÑ´Ù. class CMainFrame : public CFrameWnd { public: CMainFrame (); protected: afx_msg void OnPaint (); afx_msg void OnLButtonDown (UINT nFlags, CPoint point); DECLARE_MESSAGE_MAP (); }; } // ÀÀ¿ëÇÁ·Î±×·¥ °´Ã¼¸¦ ¼±¾ðÇÑ´Ù. CHelloApp theApp; C // ÀÀ¿ëÇÁ·Î±×·¥ Ŭ·¡½º¸¦ Á¤ÀÇÇÑ´Ù. BOOL CHelloApp::InitInstance () { m_pMainWnd = new CMainFrame; m_pMainWnd -> ShowWindow (m_nCmdShow);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/28/2011 for the course SADF 1023 taught by Professor Asfd during the Spring '11 term at Kyung Hee.

Ask a homework question - tutors are online