printerdlg.h
来自「友善之臂2410开发版上写的一个串口打印程序」· C头文件 代码 · 共 57 行
H
57 行
// PrinterDlg.h : header file
//
#if !defined(AFX_PRINTERDLG_H__9A23B912_F5CD_4011_8488_449341C98F01__INCLUDED_)
#define AFX_PRINTERDLG_H__9A23B912_F5CD_4011_8488_449341C98F01__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "CESeries.h"
/////////////////////////////////////////////////////////////////////////////
// CPrinterDlg dialog
class CPrinterDlg : public CDialog
{
// Construction
public:
char ConvertHexChar(char ch);
int String2Hex(CString str,CByteArray &sendddata);
CPrinterDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPrinterDlg)
enum { IDD = IDD_PRINTER_DIALOG };
CComboBox m_combox;
CString m_text;
CCESeries *ceSeries;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPrinterDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPrinterDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnDestroy();
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PRINTERDLG_H__9A23B912_F5CD_4011_8488_449341C98F01__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?