开发者

OwnerDraw ComboBox is not "styled" anymore

I've created a custom combobox with DrawMode = OwnerDrawVariable. Everything is fine, except it doesn't use visual styl开发者_开发知识库es anymore in DropDownList mode, i.e. it looks like old combobox. How can I make it drawn using visual styles? I checked VisualStyleElement class but haven't found there anything that could help me.

Does it mean that OwnerDraw combobox can't be drawn with visual styles???


I don't see anything in the 7.0 version of the SDK that allows drawing that style. The ComboBoxRenderer class doesn't pay attention to DropDownStyle at all. I think you're stuck.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜