Converting Color-Keyed Bitmaps to Custom - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
There are two ways in the .NET Framework Windows Forms classes to make a nonrectangular window: Use the Form.TransparencyKey (also exposed in the Win32 API through the (Get|Set)LayeredWindowAttributes functions) property or use regions. The first one is by far easier to work with, but it is not supported on any of the Windows platforms earlier than Win2K.
在.NET Framework Windows Forms 类中有两种方法可以生成一个非矩形窗口:使用 Form.TransparencyKey (也可以用 Win32 API   (Get|Set)LayeredWindowAttributes 函数)属性或使用区域。第一种方法是目前最容易的,但它不支持早期的Windows平台(至少要Win2K)。这个项目演示了将位图转换为定制的区域的方法。
来源: http://www.codeguru.com/cs_misc/BitmapToRegion.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
BitmapToRegion |
 1.0  |
2004-04-15 |
下载 |
|
|