wumpusstatic.cpp

来自「一款有关于人工智能的游戏的源代码」· C++ 代码 · 共 43 行

CPP
43
字号
// WumpusStatic.cpp : implementation file
//

#include "stdafx.h"
#include "Wumpus.h"
#include "WumpusStatic.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CWumpusStatic

CWumpusStatic::CWumpusStatic()
{
}

CWumpusStatic::~CWumpusStatic()
{
}


BEGIN_MESSAGE_MAP(CWumpusStatic, CStatic)
	//{{AFX_MSG_MAP(CWumpusStatic)
	ON_WM_MOUSEMOVE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWumpusStatic message handlers

void CWumpusStatic::OnMouseMove(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	CClientDC dc(&picture);
//	dc.
//	::SetCursor(::LoadCursor(NULL,IDC_CROSS));
	CStatic::OnMouseMove(nFlags, point);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?