extcombobox下拉选不显示滚动条

extcombobox下拉选不显示滚动条,第1张

限制高度了。滚动条是在使用WINDOWS的软件跨页的时候,右侧的一个条。extcombobox下拉选不显示滚动条是因为限制高度了,滚动条的宽度也是可以根据自己喜好来设置宽度的,在桌面空白处点右键,依次选择属性、外观、高级、项目里选择滚动条,调节数字,就能达到自己想要的效果。

CB_SETHORIZONTALEXTENT是设置宽度.An application sends the CB_SETHORIZONTALEXTENT message to set the width, in pixels, by which a list box can be scrolled horizontally (the scrollable width). If the width of the list box is smaller than this value, the horizontal scroll bar horizontally scrolls items in the list box. If the width of the list box is equal to or greater than this value, the horizontal scroll bar is hidden or, if the combo box has the CBS_DISABLENOSCROLL style, disabled.wParam = (WPARAM) cxExtent// scrollable width of list box, in pixels CB_SETHORIZONTALEXTENT lParam = 0// not used, must be zero ParameterscxExtentCB_GETHORIZONTALEXTENT是取得宽度.Specifies the scrollable width of the list box, in pixels. Return ValuesNo return value.


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/tougao/7839172.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-10
下一篇2023-04-10

发表评论

登录后才能评论

评论列表(0条)

    保存