home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / MFC / SAMPLES / CHKBOOK / CHKBOOK.H_ / CHKBOOK.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.4 KB  |  52 lines

  1. // chkbook.h : main header file for the CHKBOOK application
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13.  
  14. #include "stdafx.h"
  15. #include "resource.h"       // main symbols
  16. #include "mainfrm.h"
  17. #include "chkbkfrm.h"
  18. #include "dollcent.h"
  19. #include "fxrecdoc.h"
  20. #include "checkdoc.h"
  21. #include "checkvw.h"
  22. #include "rowview.h"
  23. #include "bookvw.h"
  24.  
  25. class CChkBookApp : public CWinApp
  26. {
  27. public:
  28.     CChkBookApp();
  29.     CMultiDocTemplate* m_pBookViewTemplate;
  30.     CMultiDocTemplate* m_pCheckViewTemplate;
  31.  
  32. // Operations
  33.     void UpdateIniFileWithDocPath(const char* pszPathName);
  34.     
  35. // Implementation
  36. protected:
  37.     // overrides of CWinApp
  38.     virtual BOOL InitInstance();
  39.     virtual CDocument* OpenDocumentFile(LPCSTR lpszFileName);
  40.  
  41.     CString GetDocPathFromIniFile();
  42.     //{{AFX_MSG(CChkBookApp)
  43.     afx_msg void OnFileNew();
  44.     afx_msg void OnAppAbout();
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. extern CChkBookApp theApp;
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.