开发者

how to remove drop down arrow from combo box?

开发者 https://www.devze.com 2023-03-13 13:02 出处:网络
I am working on a sample application to display combo box. i could display the co开发者_如何学Pythonmbo box.

I am working on a sample application to display combo box. i could display the co开发者_如何学Pythonmbo box. But i want to remove the combo box drop down arrow.

please let me know how to do this.


You can't do this without painting the control yourself. But there's no point to do that because a combo box that can't be dropped down is an edit box. Use one of those instead, perhaps supporting auto suggest.


even with all of the common control library's support for owner/custom drawing, getting rid of the combo box is difficult to impossible. most likely impossible.

i would not have even tried if there weren't significant complexities involved to switching to a different type of control...

just my experience, and in a past life i did owner-drawn toolbars and such all day long.

0

精彩评论

暂无评论...
验证码 换一张
取 消