weixinbtn.cpp

来自「vc++教程代码,完整的vc++代码,学习必备,大家共享,有问题请联系我」· C++ 代码 · 共 42 行

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

#include "stdafx.h"
#include "Test.h"
#include "WeiXinBtn.h"

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

/////////////////////////////////////////////////////////////////////////////
// CWeiXinBtn

CWeiXinBtn::CWeiXinBtn()
{
}

CWeiXinBtn::~CWeiXinBtn()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CWeiXinBtn message handlers

void CWeiXinBtn::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 + -
显示快捷键?