📄 icdemodlg.h
字号:
// IcDemoDlg.h : header file
//
#if !defined(AFX_ICDEMODLG_H__31094627_4CB2_11D7_BB13_F6E0E7F31A73__INCLUDED_)
#define AFX_ICDEMODLG_H__31094627_4CB2_11D7_BB13_F6E0E7F31A73__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CIcDemoDlg dialog
#include "Label.h"
#include "Grid.h"
class CIcDemoDlg : public CDialog
{
// Construction
public:
CIcDemoDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CIcDemoDlg(void);
CStatusBarCtrl* m_StatusBarCtrl;
// Dialog Data
//{{AFX_DATA(CIcDemoDlg)
enum { IDD = IDD_ICDEMO_DIALOG };
CStatic m_page;
CButton m_clscard;
CButton m_killcard;
CButton m_chkall;
CStatic m_spwd;
CStatic m_schk;
CButton m_lst;
CButton m_fst;
CButton m_check;
CButton m_chkpwd;
CButton m_wrcard;
CButton m_readcard;
CButton m_poweroff;
CButton m_poweron;
CButton m_port;
CButton m_CardType;
CStatic m_lblcardtype;
CStatic m_lblpwd;
CStatic m_lblpower;
CStatic m_lblport;
CButton m_staus;
CButton m_prev;
CButton m_next;
CLabel m_Tit;
CButton m_fra;
CGrid m_lstdata;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIcDemoDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
VOID ReadCard(int Addr);
void DispPwd();
int chkPage;
int IsChkPwd;
CString CardPwd;
// Generated message map functions
//{{AFX_MSG(CIcDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void Oncmdexit();
afx_msg void OncmdPort();
afx_msg void OncmdCardtype();
afx_msg void OncmdPowerOn();
afx_msg void OncmdPowerOff();
afx_msg void OncmdReadCard();
afx_msg void OncmdPrev();
afx_msg void OncmdNext();
afx_msg void OncmdWrCard();
afx_msg void OncmdChkPwd();
afx_msg void OncmdCheck();
afx_msg void OncmdFst();
afx_msg void OncmdLst();
afx_msg void OncmdChkAll();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ICDEMODLG_H__31094627_4CB2_11D7_BB13_F6E0E7F31A73__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -