📄 -
字号:
// 数码管2Dlg.h : header file
//
#if !defined(AFX_2DLG_H__199B69A7_CB2B_46A2_A1CF_9B708CE6DC89__INCLUDED_)
#define AFX_2DLG_H__199B69A7_CB2B_46A2_A1CF_9B708CE6DC89__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMy2Dlg dialog
class mytime
{
public:
int change(char);
mytime();
~mytime();
CString m_time;
void myfun(CString temp);//显示数字字符串
void set(CDialog *,int tnum,int tx,int ty,int tspace);//设置显示位置
CStatic *m_pictur[50];// 静态图 指针数组
int num;// 静态图个数
int x;// 起始X坐标
int y;// 起始Y坐标
int space;// 各数码之间 间距
};
class CMy2Dlg : public CDialog
{
// Construction
public:
CMy2Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMy2Dlg)
enum { IDD = IDD_MY2_DIALOG };
CString m_edit1;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy2Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
mytime m_timeico;
mytime m_shu;
// Generated message map functions
//{{AFX_MSG(CMy2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnChangeEdit1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_2DLG_H__199B69A7_CB2B_46A2_A1CF_9B708CE6DC89__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -