Annotation of mstools/mfc/samples/chart/chartdlg.h, revision 1.1

1.1     ! root        1: // chartdlg.h : Declares the interfaces for the Entry and print abort
        !             2: //              dialogs.  The Entry dialog layout is defined in
        !             3: //              entry.dlg; print abort is defined in chart.rc
        !             4: //
        !             5: // This is a part of the Microsoft Foundation Classes C++ library.
        !             6: // Copyright (C) 1992 Microsoft Corporation
        !             7: // All rights reserved.
        !             8: //
        !             9: // This source code is only intended as a supplement to the
        !            10: // Microsoft Foundation Classes Reference and Microsoft
        !            11: // QuickHelp documentation provided with the library.
        !            12: // See these sources for detailed information regarding the
        !            13: // Microsoft Foundation Classes product.
        !            14: //
        !            15: 
        !            16: #ifndef __CHARTDLG_H__
        !            17: #define __CHARTDLG_H__
        !            18: 
        !            19: /////////////////////////////////////////////////////////////////////////////
        !            20: // class CEntryDialog
        !            21: 
        !            22: class CEntryDialog : public CModalDialog
        !            23: {
        !            24: public:
        !            25:        // Chart data
        !            26:        CChartObject* m_pData;
        !            27: 
        !            28:        // Current listbox selection index
        !            29:        int m_nIndex;
        !            30: 
        !            31:        CEntryDialog(CWnd* pWndParent = NULL)
        !            32:                : CModalDialog("EntryDlg", pWndParent)
        !            33:                { 
        !            34:                        m_pData = NULL;
        !            35:                        m_nIndex = -1;
        !            36:                }
        !            37: 
        !            38:        void DoModal(CChartObject*);
        !            39:        BOOL SetupArrayStructure();
        !            40:        void ClearEditBoxes();
        !            41: 
        !            42:        BOOL OnInitDialog ();
        !            43:        void OnOK();
        !            44: 
        !            45:        // Message handlers
        !            46:        //
        !            47:        afx_msg void OnBtnAdd();
        !            48:        afx_msg void OnBtnDel();
        !            49:        afx_msg void OnListSelChange();
        !            50: 
        !            51:        DECLARE_MESSAGE_MAP()
        !            52: };
        !            53: 
        !            54: /////////////////////////////////////////////////////////////////////////////
        !            55: // CPrintDlgBox
        !            56: 
        !            57: class CPrintDlgBox : public CDialog
        !            58: {
        !            59: public:
        !            60:        CPrintDlgBox(); 
        !            61: 
        !            62:        BOOL OnInitDialog();
        !            63:        void OnCancel();
        !            64: 
        !            65:        DECLARE_MESSAGE_MAP()
        !            66: };
        !            67: 
        !            68: /////////////////////////////////////////////////////////////////////////////
        !            69: 
        !            70: #endif // __CHARTDLG_H__
        !            71: 

unix.superglobalmegacorp.com

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