16,471
社区成员
发帖
与我相关
我的任务
分享
BOOL CMemoInfoDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
for(int i=0;i<m_strMemberArray.GetSize();i++)
m_comboMember.AddString(m_strMemberArray.GetAt(i));
if(!m_strMember.IsEmpty())
m_comboMember.SetWindowText(m_strMember);
else
m_comboMember.SetCurSel(0);
for(i=0;i<m_strTypeArray.GetSize();i++)
m_comboType.AddString(m_strTypeArraay.GetAt(i));
if(!m_strMemoType.IsEmpty())
m_comboType.SetWindowText(m_strMemoType);
else
m_comboType.SetCurSel(0);
return TRUE;
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}