Changing Window Shapes Index


Click for Window Shapes Using Layering

Window Shapes Using Layering

This article provides an alternative, higher-performance way of creating a custom-shaped Windows region from a bitmap for Windows 2000 and XP systems. Prior to Windows 2000, window shapes could only be customised using the SetWindowsRgn API. In Windows 2000 and above support the Layered Windows APIs, which allow for considerably greater flexibility in drawing transparent or alpha-blended window parts.

  more...


Last Updated: 7 January 2003


Click for Creating Window Shapes from Bitmaps

Creating Window Shapes from Bitmaps

The Windows Shape article shows how to use the SetWindowRgn function to apply a geometric region to a window using the GDI region creation functions. However, beyond using a simple geometric region, things get difficult. How do you specify the exact shape you want?

This article demonstrates how to use a bitmap to create the Windows region for completely unique forms and controls!

  more...


Last Updated: 13 August 1999


Click for A window that's star-shaped, circular or tank-shaped

A window that's star-shaped, circular or tank-shaped

Just for fun, its surprisingly easy now to create Windows or controls of any shape whatsoever under Visual Basic. This article demonstrates using SetWindowsRgn to create Windows with a variety of geometric shapes.

  more...


Last Updated: 13 August 1999