#include 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; BOOL CHelloApp::InitInstance() { m_pMainWnd = new CMainFrame; //m_pMainWnd->ShowWindow(m_nCmdShow); //처음 실행시 최소화된 상태로 실행하..