////////////////////////////////////////////////////// // View.h // Declaration of the CView class #ifndef VIEW_H #define VIEW_H #include "WinCore.h" #include using std::vector; class CView : public CWnd { public: CView(); virtual ~CView(){} protected: virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam); private: void DrawLine(int x, int y); void OnLButtonDown(LPARAM lParam); void OnLButtonUp(LPARAM lParam); void OnMouseMove(WPARAM wParam, LPARAM lParam); POINT m_OldPt; }; #endif // CVIEW_H