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

📄 lcdsampledlg.h

📁 EVC实现LCD屏
💻 H
字号:
// LCDSampleDlg.h : header file
//

#if !defined(AFX_LCDSAMPLEDLG_H__49B2DBE4_47B0_4D95_920C_255BD28A6BE0__INCLUDED_)
#define AFX_LCDSAMPLEDLG_H__49B2DBE4_47B0_4D95_920C_255BD28A6BE0__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLCDSampleDlg dialog

#include "olorLabel.h"
#include "LCDDlg.h"

class CLCDSampleDlg : public CDialog
{
protected:
	LOGFONT		m_lfTimeFont;	// 时间显示字体
	COLORREF	m_crTimeColor;	// 时间显示颜色
	LCDDlg*	m_pdlgLCD;		// LCD显示窗口

	// 输出时间显示字体的基本信息
	void ShowTimeFont();

// Construction
public:
	CLCDSampleDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CLCDSampleDlg)
	enum { IDD = IDD_LCDSAMPLE_DIALOG };
	ColorLabel	m_wndShowTimeColor;
	int		m_nBGPeriod;
	int		m_nFloorNumber;
	CString	m_strAVIFile;
	int		m_nDirection;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLCDSampleDlg)
	virtual BOOL OnInitDialog();
	//afx_msg void OnSetTimeFont();
	afx_msg void OnSetTimeColor();
	virtual void OnOK();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LCDSAMPLEDLG_H__49B2DBE4_47B0_4D95_920C_255BD28A6BE0__INCLUDED_)

⌨️ 快捷键说明

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