DocManagerEx.h
上传用户:kairuinn
上传日期:2009-02-07
资源大小:2922k
文件大小:1k
源码类别:

图形图象

开发平台:

Visual C++

  1. #ifndef __DOC_MANAGER_EX__
  2. #define __DOC_MANAGER_EX__
  3. class CDocManagerEx : public CDocManager
  4. {
  5.     DECLARE_DYNAMIC(CDocManagerEx)
  6. public:
  7. CDocManagerEx() {};
  8. virtual    ~CDocManagerEx() {};
  9.     //CDocument*    CreateNewDocument(int doc_index, CString filename = "");
  10. void          ActivateFrame(CDocTemplate*);
  11. virtual BOOL DoPromptFileName(CString& fileName, UINT nIDSTitle,
  12. DWORD lFlags, BOOL bOpenFileDialog, CDocTemplate* pTemplate);
  13. void    StartApplication(CCommandLineInfo& cmdInfo);
  14. public:
  15. //{{AFX_VIRTUAL(CDocManagerEx)
  16. virtual void OnFileNew();
  17. virtual void OnFileOpen();
  18. //}}AFX_VIRTUAL
  19. };
  20. #endif