开发者

how to remove drop down arrow from combo 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜