我已创建了一个对话框,在SDI和放入一个组合框的对话框。下面是初始化组合框:
BOOL CprojectDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
m_combobox1.AddString("Bilinear");
m_combobox1.AddString("Near-neighbor");
m_combobox1.SetCurSel(0);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
但是,我无法找到运行程序时显示任何项目。是什么问题?
谢谢!