class CStaticMine : public CStatic { DECLARE_DYNAMIC(CStaticMine) public: CStaticMine(); virtual ~CStaticMine(); void OnLButtonDown(UINT nFlags, CPoint point); DECLARE_MESSAGE_MAP() protected: };
#include "stdafx.h" #include "StaticMine.h" // CStaticMine IMPLEMENT_DYNAMIC(CStaticMine, CStatic) CStaticMine::CStaticMine() { } CStaticMine::~CStaticMine() { } BEGIN_MESSAGE_MAP(CStaticMine, CStatic) ON_WM_LBUTTONDOWN() END_MESSAGE_MAP() void CStaticMine::OnLButtonDown(UINT nFlags, CPoint point) { CStatic::OnLButtonDown(nFlags, point); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)