📄 quitstatic.cpp
字号:
// QuitStatic.cpp : implementation file
//
#include "stdafx.h"
#include "猩猩即时通.h"
#include "QuitStatic.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CQuitStatic
CQuitStatic::CQuitStatic()
{
}
CQuitStatic::~CQuitStatic()
{
}
BEGIN_MESSAGE_MAP(CQuitStatic, CStatic)
//{{AFX_MSG_MAP(CQuitStatic)
ON_WM_LBUTTONUP()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CQuitStatic message handlers
void CQuitStatic::OnLButtonUp(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
//((CDialog*)GetParent())->OnCancel();
GetParent()->SendMessage(WM_CLOSE, 0, 0);
CStatic::OnLButtonUp(nFlags, point);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -