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

📄 fontdlg.cpp

📁 MFC编程实例
💻 CPP
字号:
#include "stdafx.h"
#include "CDB.h"
#include "FontDlg.h"

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

IMPLEMENT_DYNAMIC(MCFontDialog, CFontDialog)

MCFontDialog::MCFontDialog(LPLOGFONT lplfInitial, DWORD dwFlags, CDC* pdcPrinter, CWnd* pParentWnd) : 
	CFontDialog(lplfInitial, dwFlags, pdcPrinter, pParentWnd)
{
}

BEGIN_MESSAGE_MAP(MCFontDialog, CFontDialog)
	//{{AFX_MSG_MAP(MCFontDialog)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BOOL MCFontDialog::OnInitDialog() 
{
	CFontDialog::OnInitDialog();
	GetDlgItem(stc4)->ShowWindow(SW_HIDE);
	GetDlgItem(cmb4)->ShowWindow(SW_HIDE);
	return TRUE;
}

IMPLEMENT_DYNAMIC(MCMLFontDialog, CFontDialog)

MCMLFontDialog::MCMLFontDialog(LPLOGFONT lplfInitial, DWORD dwFlags, CDC* pdcPrinter, CWnd* pParentWnd) : 
	CFontDialog(lplfInitial, dwFlags, pdcPrinter, pParentWnd)
{
}


BEGIN_MESSAGE_MAP(MCMLFontDialog, CFontDialog)
	//{{AFX_MSG_MAP(MCMLFontDialog)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

⌨️ 快捷键说明

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