📄 sclistcsv.h
字号:
#if !defined(AFX_SCLISTCSV_H__3E918BA8_033C_484D_8D6A_8B6A8F4EF8AD__INCLUDED_)
#define AFX_SCLISTCSV_H__3E918BA8_033C_484D_8D6A_8B6A8F4EF8AD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScListCSV.h : header file
//
class CScListCtrl;
/////////////////////////////////////////////////////////////////////////////
// CScListExportCSV dialog
class CScListExportCSV : public CDialog
{
// Construction
public:
CScListCtrl* m_pExportWhat;
void ExportScList(CScListCtrl *pScList);
CScListExportCSV(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CScListExportCSV)
enum { IDD = IDD_DIALOG_EXPORT };
CListCtrl m_listExport;
CString m_ExportFile;
BOOL m_bComOpen;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScListExportCSV)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CScListExportCSV)
virtual BOOL OnInitDialog();
afx_msg void OnButtonBrowser();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CScListImportCSV dialog
class CScListImportCSV : public CDialog
{
// Construction
public:
CScListCtrl* m_pImportTo;
void ImportScList(CScListCtrl *pScList);
CScListImportCSV(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CScListImportCSV)
enum { IDD = IDD_DIALOG_IMPORT };
CListCtrl m_listImport;
CString m_ImportFile;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScListImportCSV)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CScListImportCSV)
virtual BOOL OnInitDialog();
afx_msg void OnButtonBrowser();
afx_msg void OnClickListImport(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkListImport(NMHDR* pNMHDR, LRESULT* pResult);
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
FILE *fin;
unsigned char buf[1024];
unsigned char *row[32];
};
/////////////////////////////////////////////////////////////////////////////
// CChangeMapDlg dialog
class CChangeMapDlg : public CDialog
{
// Construction
public:
CString m_strMapTo;
CListCtrl * m_listMapTo;
CChangeMapDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CChangeMapDlg)
enum { IDD = IDD_DIALOG_MAPTO };
CComboBox m_comboMapTo;
CString m_MapWhat;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChangeMapDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CChangeMapDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCLISTCSV_H__3E918BA8_033C_484D_8D6A_8B6A8F4EF8AD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -