📄 readermsgdlg.cpp
字号:
// ReaderMsgDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "myBook.h"
#include "ReaderMsgDlg.h"
#include ".\readermsgdlg.h"
// CReaderMsgDlg 对话框
IMPLEMENT_DYNAMIC(CReaderMsgDlg, CDialog)
CReaderMsgDlg::CReaderMsgDlg(CWnd* pParent /*=NULL*/)
: CDialog(CReaderMsgDlg::IDD, pParent)
{
m_pRet = NULL;
}
CReaderMsgDlg::~CReaderMsgDlg()
{
}
void CReaderMsgDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_LIST_BOOK, m_listBook);
}
BEGIN_MESSAGE_MAP(CReaderMsgDlg, CDialog)
END_MESSAGE_MAP()
// CReaderMsgDlg 消息处理程序
BOOL CReaderMsgDlg::OnInitDialog()
{
CDialog::OnInitDialog();
if ( m_pRet != NULL )
{
CString strValue;
while ( ! m_pRet->IsEOF() )
{
m_pRet->GetFieldValue((short)0, strValue);
m_listBook.AddString( strValue );
m_pRet->MoveNext();
}
}
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -