社区
界面
帖子详情
为什么ListBox中32位位图的alpha通道不能显示?
tankbattle
2005-07-25 06:08:28
我在ListBox的图像列表(图像列表是标志是ILC_COLOR32 )中添加了32位位图,可是显示的结果是alpha通道被略去了(即没有透明效果),但如果在图像列表中添加的是图标,则图标的alpha通道就显示正常。请问怎么解决?还有为什么?
...全文
128
2
打赏
收藏
为什么ListBox中32位位图的alpha通道不能显示?
我在ListBox的图像列表(图像列表是标志是ILC_COLOR32 )中添加了32位位图,可是显示的结果是alpha通道被略去了(即没有透明效果),但如果在图像列表中添加的是图标,则图标的alpha通道就显示正常。请问怎么解决?还有为什么?
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
tankbattle
2005-07-25
打赏
举报
回复
自己画我会,用AlphaBlend就可以了,可是用ListCtrl的话我怎么才能有机会自己画呢?这个操作是控件包办的啊。
吹泡泡的小猫
2005-07-25
打赏
举报
回复
这个透明显示要自己画,bitblt系列API和drawicon不一样。关于画透明位图网上有很多例子
leetcode(E)two sum
Two Sum QuestionEditorial Solution My Submissions Total Accepted: 344929 Total Submissions: 1217901 Difficulty: Easy Contributors: Admin Given an array of integers, return indices of the two nu
【leetcode】371. Sum of Two Integers【E】
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example: Given a = 1 and b = 2, return 3. Credits: Special thanks to @fujiaozhu for adding thi
leetcode(E) two sum
第一种解法:class Solution { public: vector
twoSum(vector
& nums, int target) { map
m;//注意此处为map,若为multimap,则
不能
使用m[i]形式 for(int i=0;i
1. Two Sum【E】【59+25】【leetcode】
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution. Example: Given nums =
LeetCode-1-Two Sum-E
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same
界面
15,976
社区成员
115,866
社区内容
发帖
与我相关
我的任务
界面
VC/MFC 界面
复制链接
扫一扫
分享
社区描述
VC/MFC 界面
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章