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 / dlgsamp5.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-27  |  1.3 KB  |  56 lines

  1. // dlgsamp5.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. // CSample5Dialog dialog
  17.  
  18. #include "gxwnd.h"
  19.  
  20. class CSample5GridWnd : public CGXGridWnd
  21. {
  22. public:
  23.     virtual BOOL OnValidateCell(ROWCOL nRow, ROWCOL nCol);
  24.  
  25.     // Generated message map functions
  26.     //{{AFX_MSG(CSample5GridWnd)
  27.     //}}AFX_MSG
  28.     DECLARE_MESSAGE_MAP()
  29. };
  30.  
  31. class CSample5Dialog : public CDialog
  32. {
  33. // Construction
  34. public:
  35.     CSample5Dialog(CWnd* pParent = NULL);    // standard constructor
  36.  
  37. // Dialog Data
  38.     //{{AFX_DATA(CSample5Dialog)
  39.     enum { IDD = IDD_DLGSAMP5 };
  40.     int     m_nEdit;
  41.     int     m_nVal2;
  42.     //}}AFX_DATA
  43.  
  44.     CSample5GridWnd m_wndGrid;
  45.  
  46. // Implementation
  47. protected:
  48.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  49.  
  50.     // Generated message map functions
  51.     //{{AFX_MSG(CSample5Dialog)
  52.     virtual BOOL OnInitDialog();
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.