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

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