Update-Installer/external/win32cpp/tutorials/Tutorial3/View.h
Robert Knight d16da069e9 Add Win++ library to external
This is a thin wrapper around the Win32 API used in the Win32
Updater Dialog implementation.
2011-08-23 19:54:52 +01:00

33 lines
537 B
C++

//////////////////////////////////////////////////////
// View.h
// Declaration of the CView class
#ifndef VIEW_H
#define VIEW_H
#include "WinCore.h"
#include <vector>
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