tbadderwnd.cpp
来自「ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - 」· C++ 代码 · 共 64 行
CPP
64 行
/***************************************************************************/
/* NOTE: */
/* This document is copyright (c) by Oz Solomonovich, and is bound by the */
/* MIT open source license (www.opensource.org/licenses/mit-license.html). */
/* See License.txt for more information. */
/***************************************************************************/
// TBAdderWnd.cpp : implementation file
//
#include "stdafx.h"
//#include "wtsdk_samp.h"
#include "TBAdderWnd.h"
#include "DSAddin.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern CDSAddIn* g_pDSAddin;
/////////////////////////////////////////////////////////////////////////////
// CTBAdderWnd
CTBAdderWnd::CTBAdderWnd()
{
}
CTBAdderWnd::~CTBAdderWnd()
{
}
BEGIN_MESSAGE_MAP(CTBAdderWnd, CWnd)
//{{AFX_MSG_MAP(CTBAdderWnd)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTBAdderWnd message handlers
void CTBAdderWnd::OnClose()
{
// the following code is here because calls to
// IApplication->AddCommandBarButton are not valid in
// CDSAddIn::OnConnection if bFirstTime isn't true.
// this is an alternate location for that call
g_pDSAddin->CreateToolbar();
CWnd::OnClose();
}
void CTBAdderWnd::PostNcDestroy()
{
CWnd::PostNcDestroy();
delete this;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?