返回首页


我已创建了一个对话框,在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

}

但是,我无法找到运行程序时显示任何项目。是什么问题?
谢谢!

回答

评论会员:。Malli_S 时间:2012/02/06
]以及
评论会员:游客 时间:2012/02/06
打码机座:|的大小问题,切切实实的,您的组合框下来的大小可小,不会显示你的附加价值。增加单击组合框的大小组合和增加规模trianle按钮......