///////////////////////////////////////////////////////////////////////////// // ChildView.h - Manages what is displayed in the window client area // // // // Jim Fawcett, CSE791 - Distributed Objects, Demonstration, Spring 2001 // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_CHILDVIEW_H__5025EBFB_AD17_4DCA_BA65_188FEFA624A6__INCLUDED_) #define AFX_CHILDVIEW_H__5025EBFB_AD17_4DCA_BA65_188FEFA624A6__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CChildView window class CChildView : public CWnd { // Construction public: CChildView(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CChildView) protected: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation public: virtual ~CChildView(); // Generated message map functions protected: //{{AFX_MSG(CChildView) afx_msg void OnPaint(); afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CStatic *m_pCStatic; int m_TriangleY; int m_TriangleX; int m_DisplayY; int m_DisplayX; int m_MouseY; int m_MouseX; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CHILDVIEW_H__5025EBFB_AD17_4DCA_BA65_188FEFA624A6__INCLUDED_)