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

📄 day7dlg.h

📁 学习VC的一些例子
💻 H
字号:
// Day7Dlg.h : header file
//

#if !defined(AFX_DAY7DLG_H__75D78286_7DDD_11D5_9C6E_00A0C9E321FD__INCLUDED_)
#define AFX_DAY7DLG_H__75D78286_7DDD_11D5_9C6E_00A0C9E321FD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

int CALLBACK EnumFontFamProc(LPENUMLOGFONT lpelf,
	LPNEWTEXTMETRIC lpntm, DWORD nFontType, long lParam);

/////////////////////////////////////////////////////////////////////////////
// CDay7Dlg dialog

class CDay7Dlg : public CDialog
{
// Construction
public:
	CDay7Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDay7Dlg)
	enum { IDD = IDD_DAY7_DIALOG };
	CListBox	m_ctlFontList;
	CStatic	m_ctlDisplayText;
	CString	m_strDisplayText;
	CString	m_strFontName;
	CString	m_strSampText;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDay7Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDay7Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnChangeEsamptext();
	afx_msg void OnSelchangeLfonts();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void SetMyFont();
	CFont m_fSampFont;
	void FillFontList1();
	void FillFontList();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DAY7DLG_H__75D78286_7DDD_11D5_9C6E_00A0C9E321FD__INCLUDED_)

⌨️ 快捷键说明

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