pdflist.cpp
来自「把doc文档转成pdf后刻录成CD,用VC++开发,用了Nero的SDK和CXI」· C++ 代码 · 共 59 行
CPP
59 行
// PDFList.cpp : implementation file
//
#include "stdafx.h"
#include "Scan2PDF.h"
#include "PDFList.h"
#include "Scan2PDFDefs.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPDFList dialog
CPDFList::CPDFList(CWnd* pParent /*=NULL*/)
: CDialog(CPDFList::IDD, pParent)
{
//{{AFX_DATA_INIT(CPDFList)
//}}AFX_DATA_INIT
}
void CPDFList::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPDFList)
DDX_Control(pDX, IDC_LIST_PDF, m_PDF);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPDFList, CDialog)
//{{AFX_MSG_MAP(CPDFList)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPDFList message handlers
BOOL CPDFList::OnInitDialog()
{
CDialog::OnInitDialog();
int iNum=theConf.m_PDFs.size();
for (int i=0; i<iNum; i++)
{
m_PDF.AddString(theConf.m_PDFs[i]);
}
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?