// modeldlg.h : header file // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) 1992-1998 Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sources for detailed information regarding the // Microsoft Foundation Classes product. ///////////////////////////////////////////////////////////////////////////// // CMainDlg dialog #include "msdgrid.h" #include "rdc.h" class CMainDlg : public CDialog { // Construction public: CMainDlg(CWnd* pParent = NULL); // standard constructor void BoxDone(); // Dialog Data //{{AFX_DATA(CMainDlg) enum { IDD = IDD_MAIN_DIALOG }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; CNwindDialog* m_pNWind; CMsDgridCtrl m_pGrid; CRdc m_pDSC; // Generated message map functions //{{AFX_MSG(CMainDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); virtual void OnOK(); afx_msg void OnAddpub(); afx_msg BOOL OnRequestEdit(UINT nCtl, BOOL* pBool); afx_msg BOOL OnChanged(UINT nCtl); afx_msg BOOL OnDSCNotifyNwind(DSCSTATE nState, DSCREASON nReason, BOOL* pBool); afx_msg BOOL OnDSCNotifyPubs(DSCSTATE nState, DSCREASON nReason, BOOL* pBool); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() };