|
#pragma once
#include "Unit.h"
class CWindowsMgr
{
public:
CWindowsMgr(void);
~CWindowsMgr(void);
BOOL Initialize(CUnit *pRootUnit);
VOID Finalize();
UINT ReceiveMessage(LPCTSTR lpszAction,LPCTSTR lpszValue,UINT nUnitID = NULL);
private:
UINT OpenTheWindow(LPCTSTR lpszID);
BOOL CloseTheWindow(LPCTSTR lpszID,UINT nUnitID = NULL);
BOOL GeneratorObject(CUnit* pUnit);
BOOL GeneratorWindow(CUnit* pUnit);
BOOL GeneratorControl(CUnit* pUnit);
BOOL GeneratorEmbedControl(CUnit* pUnit);
CUnit* m_pRootUnit;
CWnd* m_pParentWnd;
CWnd* m_pCurrentWnd;
map<void*,string> m_DestroyMap;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.