quitstatic.cpp
来自「聊天室 可以群聊 exe文件图标可以在任务栏的通知区显示,」· C++ 代码 · 共 42 行
CPP
42 行
// 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 + =
减小字号Ctrl + -
显示快捷键?