c# 的 TextBox cs结构 如何实现半透明或透明.请给个实际的工程,演示一下,谢谢

[复制链接]
查看11 | 回复1 | 2012-10-29 18:24:35 | 显示全部楼层 |阅读模式
有点麻烦。你可以搜一下UpdateLayeredWindow。使用WIN32的api来实现。
[DllImport("user32.dll", ExactSpelling = true, SetLastError = true)]
public static extern int UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, Int32 crKey, ref BLENDFUNCTION pblend, Int32 dwFlags)...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行