patterndlg.h
来自「转换64K色bmp图片用的; 它可以把bmp格式的图片转换成64K色的数组数据」· C头文件 代码 · 共 57 行
H
57 行
// patternDlg.h : header file
//
#if !defined(AFX_PATTERNDLG_H__80F07DA2_2F54_4F0C_9630_39F54DB8A2D2__INCLUDED_)
#define AFX_PATTERNDLG_H__80F07DA2_2F54_4F0C_9630_39F54DB8A2D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPatternDlg dialog
class CPatternDlg : public CDialog
{
// Construction
public:
void WriteScreen(unsigned char *lcd);
CPatternDlg(CWnd* pParent = NULL); // standard constructor
HANDLE hDevice;
DWORD nWrite;
int count;
// Dialog Data
//{{AFX_DATA(CPatternDlg)
enum { IDD = IDD_PATTERN_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPatternDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPatternDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnClose();
afx_msg void OnButton4();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PATTERNDLG_H__80F07DA2_2F54_4F0C_9630_39F54DB8A2D2__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?