Annotation of mstools/mfc/samples/minmdi/minmdi.h, revision 1.1.1.1

1.1       root        1: // minmdi.h : Declares the class interfaces for MinMDI.
                      2: //            This application is the simplest Multiple Document Interface
                      3: //            (MDI) program.  It demonstrates how the CMDIFrameWnd and
                      4: //            CMDIChildWnd classes can be used together to make an MDI
                      5: //            application.
                      6: //
                      7: // This is a part of the Microsoft Foundation Classes C++ library.
                      8: // Copyright (C) 1992 Microsoft Corporation
                      9: // All rights reserved.
                     10: //
                     11: // This source code is only intended as a supplement to the
                     12: // Microsoft Foundation Classes Reference and Microsoft
                     13: // QuickHelp documentation provided with the library.
                     14: // See these sources for detailed information regarding the
                     15: // Microsoft Foundation Classes product.
                     16: 
                     17: #ifndef __MINMDI_H__
                     18: #define __MINMDI_H__
                     19: 
                     20: /////////////////////////////////////////////////////////////////////////////
                     21: 
                     22: class CMainWindow : public CMDIFrameWnd
                     23: {
                     24: public:
                     25:        // Constructor.
                     26:        CMainWindow();
                     27: 
                     28:        // Message handlers.
                     29:        afx_msg void OnAbout();
                     30:        afx_msg void OnNewWindow();
                     31: 
                     32:        // Message map in the minmdi.cpp file.
                     33:        DECLARE_MESSAGE_MAP();
                     34: };
                     35: 
                     36: /////////////////////////////////////////////////////////////////////////////
                     37: 
                     38: class CTheApp : public CWinApp
                     39: {
                     40: public:
                     41:        BOOL InitInstance();
                     42: };
                     43: 
                     44: /////////////////////////////////////////////////////////////////////////////
                     45: 
                     46: #endif // __MINMDI_H__
                     47: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.