lcdsampledlg.h
来自「EVC实现LCD屏」· C头文件 代码 · 共 67 行
H
67 行
// 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 + =
减小字号Ctrl + -
显示快捷键?