天天进步2015 2015-11-13 01:51 采纳率: 60%
浏览 2700
已结题

怎么sendmessage选中Combobox的某一项

用mfc 调用window api的 sendmessage函数,
选中Combobox的任意一项

不知道怎么写啊,请大侠帮忙!

  • 写回答

6条回答 默认 最新

  • 裸奔的可比克 2015-11-13 02:36
    关注

    SendMessage(hwndComboBox, CB_GETCURSEL, 0, 0);
    获取组合框的索引

    评论

报告相同问题?