BOOL CYGDJ::OnInitDialog() 
{
CDialog::OnInitDialog();
SetIcon(m_hIcon, TRUE);
// TODO: Add extra initialization here
m_sex.AddString("男");
m_sex.AddString("女");
m_education.InsertString(0,"专科");
m_education.InsertString(1,"本科");
m_education.InsertString(2,"研究生");
return TRUE;  // return TRUE unless you set the focus to a control
              // EXCEPTION: OCX Property Page
这是我的初始化
谢谢各位啦。。

解决方案 »

  1.   

    COMBO BOX 下拉画面太短,把那个窗口往下拉长
      

  2.   

    可以吧,没有问题啊。
    展开看下面有没有内容,没有的话,你在属性里面添加信息看是否能够显示,还不能显示的话,就把它删了重建一个combox
      

  3.   

    试试下面的
    m_sex.SetCurSel(0);
    m_education.SetCurSel(0);
    UpdateData(false);
    组合框ComBox使用时,初始化时好像要确定显示第几个啊,然后UpdateData(0)下,让其刷新显示 就OK了 应该没问题吧