首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

combo box输入数据时,数据长于控件长度,就不能继续输入了,怎么处理

2012-05-05 
combo box输入数据时,数据长于控件长度,就不能继续输入了,怎么办谢谢[解决办法]“CBS_AUTOHSCROLLAutomatic

combo box输入数据时,数据长于控件长度,就不能继续输入了,怎么办
谢谢

[解决办法]
“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.

[解决办法]
顶楼上,你要是动态创建的话额外加上这个风格就行
如果不是动态创建的话用一下SetExtendedStyle()函数来设置,不过这个我没用过,不过你试试看

热点排行