// MainFrm.h : CMainFrame Ŭ·¡½ºÀÇ ÀÎÅÍÆäÀ̽º // #pragma once class CMainFrame : public CFrameWndEx { protected: // serialization¿¡¼­¸¸ ¸¸µé¾îÁý´Ï´Ù. CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Ư¼ºÀÔ´Ï´Ù. public: // ÀÛ¾÷ÀÔ´Ï´Ù. public: // ÀçÁ¤ÀÇÀÔ´Ï´Ù. public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL); // ±¸ÇöÀÔ´Ï´Ù. public: virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // ÄÁÆ®·Ñ ¸ðÀ½ÀÌ Æ÷ÇÔµÈ ¸â¹öÀÔ´Ï´Ù. CMFCMenuBar m_wndMenuBar; CMFCToolBar m_wndToolBar; CMFCStatusBar m_wndStatusBar; CMFCToolBarImages m_UserImages; // »ý¼ºµÈ ¸Þ½ÃÁö ¸Ê ÇÔ¼ö protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnViewCustomize(); afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp); afx_msg LRESULT OnTray(WPARAM wParam, LPARAM lParam); afx_msg void OnApplicationLook(UINT id); afx_msg void OnUpdateApplicationLook(CCmdUI* pCmdUI); DECLARE_MESSAGE_MAP() public: void GotoTray(void); afx_msg void OnDestroy(); afx_msg void OnClose(); afx_msg void OnAppExit(); afx_msg void OnAppShowapplication(); };