可以设置Behavior中的Auto属性为True。Auto属性的作用是:Automatically scrolls text to the left when the user types a character at the end of the line.如果是动态创建的CComboBox,Create时加上CBS_AUTOHSCROLL style,应该也可以吧。CBS_AUTOHSCROLL
Automatically scrolls the text in the edit control to the right when the user types a character at the end of the line. If this style is not set, only text that fits within the rectangular boundary is allowed.
Automatically scrolls the text in the edit control to the right when the user types a character at the end of the line. If this style is not set, only text that fits within the rectangular boundary is allowed.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货