📄 exatbar_3.cpp
字号:
// DlgToolBar.cpp : implementation file
//
#include "stdafx.h"
#include "ExaTBar_3.h"
#include <afxpriv.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////////////////////////////////////////////////////////////////////////
//ExaTBar_3
BEGIN_MESSAGE_MAP(ExaTBar_3,CToolBar)
ON_MESSAGE(WM_IDLEUPDATECMDUI,OnIdleUpdateCmdUI)
END_MESSAGE_MAP()
LRESULT ExaTBar_3::OnIdleUpdateCmdUI(WPARAM wParam,LPARAM)
{
CToolBar::OnIdleUpdateCmdUI(wParam,0);
if (IsWindowVisible())
{
CFrameWnd* pParent = (CFrameWnd* )GetParent();
if(pParent)
OnUpdateCmdUI(pParent,(BOOL)wParam);
}
return 0L;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -