{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HelloMFC - #include class CHelloApp public...

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.

{[ snackBarMessage ]}