Annotation of mstools/mfc/samples/chart/chart.cpp, revision 1.1.1.1

1.1       root        1: // chart.cpp : Defines the class behaviors for the Chart 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 documentation provided with the library.
                     10: // See these sources for detailed information regarding the
                     11: // Microsoft Foundation Classes product.
                     12: //
                     13: 
                     14: #include "chart.h"
                     15: 
                     16: 
                     17: // a simple way to reduce size of C runtimes
                     18: // disable the use of getenv and argv/argc
                     19: extern "C" void _setargv() { }
                     20: extern "C" void _setenvp() { }
                     21: 
                     22: /////////////////////////////////////////////////////////////////////////////
                     23: // Once created, the whole application object takes care of itself.
                     24: //
                     25: CTheApp theApp;
                     26: 
                     27: /////////////////////////////////////////////////////////////////////////////
                     28: // CTheApp
                     29: 
                     30: // InitInstance:
                     31: // Create and display the main frame window
                     32: //
                     33: BOOL CTheApp::InitInstance()
                     34: {
                     35:        m_pMainWnd = new CChartWnd();
                     36:        m_pMainWnd->ShowWindow(m_nCmdShow);
                     37:        m_pMainWnd->UpdateWindow();
                     38:        return TRUE;
                     39: }
                     40: 
                     41: 
                     42: 
                     43: CTheApp::~CTheApp()
                     44: {
                     45:        delete m_pMainWnd;
                     46: }
                     47: 

unix.superglobalmegacorp.com

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