home *** CD-ROM | disk | FTP | other *** search
- // dlgsamp2.h : header file
- //
-
- // This is a part of the Objective Grid C++ Library.
- // Copyright (C) 1995,1996 ClassWorks, Stefan Hoenig.
- // All rights reserved.
- //
- // This source code is only intended as a supplement to
- // the Objective Grid Classes Reference and related
- // electronic documentation provided with the library.
- // See these sources for detailed information regarding
- // the Objective Grid product.
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CSample2Dialog dialog
-
- #include "gxwnd.h"
- #include "gxtwnd.h"
-
- class CSample2GridWnd : public CGXGridWnd
- {
- public:
- virtual BOOL OnValidateCell(ROWCOL nRow, ROWCOL nCol);
-
- // Generated message map functions
- //{{AFX_MSG(CSample2GridWnd)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- class CSample2Dialog : public CDialog
- {
- // Construction
- public:
- CSample2Dialog(CWnd* pParent = NULL); // standard constructor
-
- // Dialog Data
- //{{AFX_DATA(CSample2Dialog)
- enum { IDD = IDD_DLGSAMP2 };
- int m_nEdit;
- int m_nVal2;
- //}}AFX_DATA
-
- CSample2GridWnd m_grid1, m_grid2, m_grid3;
-
- // Implementation
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
-
- // Generated message map functions
- //{{AFX_MSG(CSample2Dialog)
- virtual BOOL OnInitDialog();
- afx_msg BOOL OnNcActivate(BOOL bActive);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-