pdb readerdlg.h
来自「PALM PDB文件阅读器源代码」· C头文件 代码 · 共 92 行
H
92 行
// PDB ReaderDlg.h : header file
//
#if !defined(AFX_PDBREADERDLG_H__13A883D8_766F_11D3_B790_00508B0ACA0E__INCLUDED_)
#define AFX_PDBREADERDLG_H__13A883D8_766F_11D3_B790_00508B0ACA0E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "PDB.h"
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
//{{AFX_DATA(CAboutDlg)
enum { IDD = IDD_ABOUTBOX };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//{{AFX_MSG(CAboutDlg)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CPDBReaderDlg dialog
class CPDBReaderDlg : public CDialog
{
// Construction
public:
CPDBReaderDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPDBReaderDlg)
enum { IDD = IDD_PDBREADER_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPDBReaderDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPDBReaderDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFileSaveAs();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CPDBReaderApp *thisApp;
CString strFileName;
pdbHeader uctHeader;
CArray<pdbRecInfo, pdbRecInfo&> arrRecInfo;
void LoadPDBFile();
void DumpPDBFile(ofstream &filOutput);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PDBREADERDLG_H__13A883D8_766F_11D3_B790_00508B0ACA0E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?