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

  1. // gridsvw3.h : interface of the CGridSample3View class
  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. #ifndef _MYGRIDVW_H_
  17. #include "mygridvw.h"
  18. #endif
  19.  
  20. class CGridSample3View : public CMyGridView
  21. {
  22. protected: // create from serialization only
  23.     CGridSample3View();
  24.     DECLARE_DYNCREATE(CGridSample3View)
  25.  
  26. // Attributes
  27. public:
  28.     CGridSampleDoc* GetDocument();
  29.  
  30.     WORD m_wStyleCombo,
  31.          m_wStyleError;
  32.  
  33. // Operations
  34.     BOOL ConnectParam();
  35.     void SetupBaseStyles();
  36.     void Instructions(LPCTSTR szInstruct);
  37.  
  38.     virtual BOOL OnSelDragColsStart(ROWCOL nFirstCol, ROWCOL nLastCol);
  39.     virtual BOOL OnSelDragColsMove(ROWCOL, ROWCOL, ROWCOL nDestCol);
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~CGridSample3View();
  44.     virtual void OnInitialUpdate();
  45. #ifdef _DEBUG
  46.     virtual void AssertValid() const;
  47.     virtual void Dump(CDumpContext& dc) const;
  48. #endif
  49.  
  50. // Generated message map functions
  51. protected:
  52.     //{{AFX_MSG(CGridSample3View)
  53.     afx_msg void OnViewUseractions();
  54.     afx_msg void OnViewSplitterview();
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59. #ifndef _DEBUG  // debug version in gridsvw.cpp
  60. inline CGridSampleDoc* CGridSample3View::GetDocument()
  61.    { return (CGridSampleDoc*) m_pDocument; }
  62. #endif
  63.  
  64. /////////////////////////////////////////////////////////////////////////////
  65.