#ifndef _WINDOW_MGR_H_ #define _WINDOW_MGR_H_ #include #include // (ÁÖÀÇ) ¸ð´Þ¸®½º ´ëÈ­»óÀÚ¿¡¼­ »ç¿ëÇÏÁö ¸»°Í~~ ´ë·« ¾ÆÀ̵𰡠¾ûÅ´... Â÷ÈÄ °³¼± ¤Ñ.¤Ña ¤»¤»¤» #define INSERT_WINDOW(nID, pCWnd) CWindowMgr::GetInstance().InsertWnd(nID, pCWnd) #define ERASE_WINDOW(nID) CWindowMgr::GetInstance().EraseWnd(nID) #define GET_WINDOW(nID) CWindowMgr::GetInstance().GetWnd(nID) class CWindowMgr : public CStaticSingleton { typedef std::mapisWndList; typedef isWndList::value_type isValueType; typedef isWndList::iterator isPos; public: CWindowMgr() {} ~CWindowMgr(); void InsertWnd(unsigned long nID, CWnd* pCWnd); void EraseWnd(unsigned long nID); CWnd* GetWnd(unsigned long nID); private: isWndList m_WndList; }; #endif