telltalebutton.cpp
来自「多窗口层叠文件示例」· C++ 代码 · 共 39 行
CPP
39 行
// TelltaleButton.cpp : implementation file
//
#include "stdafx.h"
#include "StackedWindowsControl_Demo.h"
#include "TelltaleButton.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTelltaleButton
CTelltaleButton::CTelltaleButton()
{
}
CTelltaleButton::~CTelltaleButton()
{
}
BEGIN_MESSAGE_MAP(CTelltaleButton, CButton)
//{{AFX_MSG_MAP(CTelltaleButton)
ON_CONTROL_REFLECT(BN_CLICKED, OnClicked)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTelltaleButton message handlers
void CTelltaleButton::OnClicked()
{
GetParent()->SendMessage( WM_RUBRIC_WND_CLICKED_ON, (WPARAM)this->m_hWnd );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?