⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fontframe.cpp

📁 Resource editor base speadrum Chinese mobile
💻 CPP
字号:
// FontLibFrame.cpp : implementation file
//

#include "stdafx.h"
#include "resourceeditor.h"
#include "FontFrame.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFontFrame

IMPLEMENT_DYNCREATE(CFontFrame, CChildFrame)

CFontFrame::CFontFrame()
{
	m_ResType = MMI_RT_FONT;
}

CFontFrame::~CFontFrame()
{
}


BEGIN_MESSAGE_MAP(CFontFrame, CChildFrame)
	//{{AFX_MSG_MAP(CFontFrame)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFontFrame message handlers

int CFontFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CChildFrame::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here
	if( !g_theApp.IsSuperUser() )
    {
        ::DeleteMenu(m_hMenuShared, ID_FILE_NEW,       MF_BYCOMMAND);
        ::DeleteMenu(m_hMenuShared, IDM_FONT_ADD,      MF_BYCOMMAND);
        ::DeleteMenu(m_hMenuShared, IDM_FONT_DEL,      MF_BYCOMMAND);
        ::DeleteMenu(m_hMenuShared, IDM_FONT_EXPORT,   MF_BYCOMMAND);
        ::DeleteMenu(m_hMenuShared, ID_OPTION_FILE_SETTING, MF_BYCOMMAND);
    }

	return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -