📄 wzdtlbar.cpp
字号:
// WzdTlBar.cpp : implementation file
//
#include "stdafx.h"
#include "wzd.h"
#include "WzdTlBar.h"
#include "MainFrm.h"
#include <afxtempl.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CWzdToolBar
CWzdToolBar::CWzdToolBar()
{
}
CWzdToolBar::~CWzdToolBar()
{
}
BEGIN_MESSAGE_MAP(CWzdToolBar, CToolBar)
//{{AFX_MSG_MAP(CWzdToolBar)
ON_WM_DESTROY()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CWzdToolBar message handlers
void CWzdToolBar::OnDestroy()
{
CToolBar::OnDestroy();
CList<CToolBar*,CToolBar*> *pList=((CMainFrame*)AfxGetMainWnd())->GetToolBarList();
POSITION pos=pList->Find(this);
if (pos)
{
pList->RemoveAt(pos);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -