📄 dhkbtn.cpp
字号:
// DHKBtn.cpp : implementation file
//
#include "stdafx.h"
#include "DuiHuaK.h"
#include "DHKBtn.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDHKBtn
CDHKBtn::CDHKBtn()
{
}
CDHKBtn::~CDHKBtn()
{
}
BEGIN_MESSAGE_MAP(CDHKBtn, CButton)
//{{AFX_MSG_MAP(CDHKBtn)
ON_WM_MOUSEMOVE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDHKBtn message handlers
void CDHKBtn::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);//可以利用SetWindowPos来实现
}
//DEL void CDHKBtn::OnClicked()
//DEL {
//DEL // TODO: Add your control notification handler code here
//DEL
//DEL }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -