?? lensbutton.cpp
字號:
// MirrorButton.cpp : implementation file
//
#include "stdafx.h"
#include "cradle.h"
#include "LensButton.h"
#include "cradleDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLensButton
CLensButton::CLensButton()
{
}
CLensButton::~CLensButton()
{
}
BEGIN_MESSAGE_MAP(CLensButton, CButton)
//{{AFX_MSG_MAP(CLensButton)
ON_WM_LBUTTONDOWN()
ON_WM_LBUTTONUP()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CLensButton message handlers
void CLensButton::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
((CCoudDlg*)GetParent())->OnMirActDown(this->GetDlgCtrlID());
CButton::OnLButtonDown(nFlags, point);
}
void CLensButton::OnLButtonUp(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
((CCoudDlg*)GetParent())->OnActUp(this->GetDlgCtrlID());
CButton::OnLButtonUp(nFlags, point);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -