home *** CD-ROM | disk | FTP | other *** search
/ C/C++ User's Journal & Wi…eveloper's Journal Tools / C-C__Users_Journal_and_Windows_Developers_Journal_Tools_1997.iso / stingray / dlgsamp2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-27  |  1.4 KB  |  58 lines

  1. // dlgsamp2.h : header file
  2. //
  3.  
  4. // This is a part of the Objective Grid C++ Library.
  5. // Copyright (C) 1995,1996 ClassWorks, Stefan Hoenig.
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to
  9. // the Objective Grid Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding
  12. // the Objective Grid product.
  13. //
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CSample2Dialog dialog
  17.  
  18. #include "gxwnd.h"
  19. #include "gxtwnd.h"
  20.  
  21. class CSample2GridWnd : public CGXGridWnd
  22. {
  23. public:
  24.     virtual BOOL OnValidateCell(ROWCOL nRow, ROWCOL nCol);
  25.  
  26.     // Generated message map functions
  27.     //{{AFX_MSG(CSample2GridWnd)
  28.     //}}AFX_MSG
  29.     DECLARE_MESSAGE_MAP()
  30. };
  31.  
  32. class CSample2Dialog : public CDialog
  33. {
  34. // Construction
  35. public:
  36.     CSample2Dialog(CWnd* pParent = NULL);    // standard constructor
  37.  
  38. // Dialog Data
  39.     //{{AFX_DATA(CSample2Dialog)
  40.     enum { IDD = IDD_DLGSAMP2 };
  41.     int     m_nEdit;
  42.     int     m_nVal2;
  43.     //}}AFX_DATA
  44.  
  45.     CSample2GridWnd m_grid1, m_grid2, m_grid3;
  46.  
  47. // Implementation
  48. protected:
  49.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.  
  51.     // Generated message map functions
  52.     //{{AFX_MSG(CSample2Dialog)
  53.     virtual BOOL OnInitDialog();
  54.     afx_msg BOOL OnNcActivate(BOOL bActive);
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.