?? flatmodedlg.h
字號(hào):
#if !defined(AFX_FLATMODEDLG_H__0438039B_8719_49C0_9C67_398FB0A99F57__INCLUDED_)
#define AFX_FLATMODEDLG_H__0438039B_8719_49C0_9C67_398FB0A99F57__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FlatModeDlg.h : header file
//
#include <afxtempl.h>
struct FileAddrStru
{
CString strFileName;
long nLoadBgnPos;
long nFileSize;
};
typedef CArray<FileAddrStru,FileAddrStru> FileAddrStruAry;
/////////////////////////////////////////////////////////////////////////////
// CFlatModeDlg dialog
class CFlatModeDlg : public CDialog
{
// Construction
public:
CFlatModeDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFlatModeDlg)
enum { IDD = IDD_FLATMODEDLG_DIALOG };
CSpinButtonCtrl m_SpinCtrl;
CListBox m_fileAddrBox;
CListCtrl m_FileAddrList;
long m_curFileLoadAddr;
CString m_inputBinFile;
CString m_outputImgFile;
CString m_strTotalSize;
CString m_strHaveUsed;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFlatModeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFlatModeDlg)
afx_msg void OnButtonPrepare();
afx_msg void OnButtonSlBin();
afx_msg void OnButtonSlImg();
afx_msg void OnButtonWrite();
afx_msg void OnDeltaposSpinSlAddr(NMHDR* pNMHDR, LRESULT* pResult);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL bFilled;
FileAddrStruAry m_fileAddrAry;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FLATMODEDLG_H__0438039B_8719_49C0_9C67_398FB0A99F57__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -