Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用一个是CCombo Box后代的类。如何设置其下拉列表 的最大允许宽度?
我从网上冲浪得出的结论是CCombo Box类中没有这种方法。有人请在这方面帮助我。
提前致谢。
CComboBox::SetDroppedWidth:
CComboBox::SetDroppedWidth
调用此函数以设置组合框的列表框的最小允许宽度(以像素为单位)。
该函数应该向控制窗口发送CB_SETDROPPEDWIDTH消息。
CB_SETDROPPEDWIDTH