我如何制作透明的组合框 [英] how can i make a transparent combobox

查看:121
本文介绍了我如何制作透明的组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使组合框下拉列表透明但失败.
显示下拉菜单时,我得到了下拉区域的屏幕截图,并将其绘制到drawitem事件中的每个项目上.
但是当滚动条出现时,背景无法准确绘制.
现在,我想寻找一种方法,以使组合框下拉列表透明.
btw c#winform程序. thx〜

i want to make the combobox dropdown list transparent but failed.
i get a screenshot of the dropdown area when the dropdown displayed and draw it to each item in drawitem event.
but when the scrollbar appeared the background can''t be drawn exactly.
now i want to seek a method if i can make the combobox dropdown list transparent.
btw c# winform program. thx~

推荐答案

我不知道您是否看过^ ].我认为它可能会给您一些想法,即使它不直接适用.
I don''t know if you have seen Transparent ListBox[^]. I thought it might give you some ideas, even if it is not directly applicable.


这篇关于我如何制作透明的组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆