win.cpp

来自「游戏小程序」· C++ 代码 · 共 42 行

CPP
42
字号
// win.cpp : implementation file
//

#include "stdafx.h"
#include "pursue.h"
#include "win.h"

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

/////////////////////////////////////////////////////////////////////////////
// Cwin

Cwin::Cwin()
{
}

Cwin::~Cwin()
{
}


BEGIN_MESSAGE_MAP(Cwin, CButton)
	//{{AFX_MSG_MAP(Cwin)
	ON_WM_MOUSEMOVE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Cwin message handlers

void Cwin::OnMouseMove(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	ShowWindow(SW_HIDE);
	m_pBtn->ShowWindow(SW_SHOW);
	CButton::OnMouseMove(nFlags, point);
}

⌨️ 快捷键说明

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