exatbar_2.cpp
来自「基于mfc的DAO数据库连接编程,并包含图形的报表的生成以及表格报表的底层建模」· C++ 代码 · 共 42 行
CPP
42 行
// DlgToolBar.cpp : implementation file
//
#include "stdafx.h"
#include "ExaTBar_2.h"
#include <afxpriv.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/*#include "stdafx.h"
#include "ExaTBar_1.h"
#include <afxpriv.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
//static char THIS_FILE[]=__FILE__;
#endif*/
//////////////////////////////////////////////////////////////////////////////////////////
//ExaTBar_1
BEGIN_MESSAGE_MAP(ExaTBar_2,CToolBar)
ON_MESSAGE(WM_IDLEUPDATECMDUI,OnIdleUpdateCmdUI)
END_MESSAGE_MAP()
LRESULT ExaTBar_2::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 + =
减小字号Ctrl + -
显示快捷键?