|
|
Working with Region API
|
Total Hit (4620) |
A region is a rectangle, polygon, or ellipse (or a combination of two or more of these shapes) that can be filled, painted, inverted, framed, and used to perform hit testing (testing for the cursor location).
From this article you will learn
- Creating regions of different shapes (i.e rectangl
....Read More |
Rating
|
|
|
How to perform clipping using API
|
Total Hit (5678) |
To perform very complex clipping operations you can use a set of clipping APIs. From this sample code you will learn several techniques of clipping.
A clipping region is a region with edges that are either straight lines or curves. You can create simple or complex regions using various region API
....Read More |
Rating
|
|
|
Window Shapes Using Layering
|
Total Hit (2482) |
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
....Read More |
Rating
|
|
|
Creating Window Shapes from Bitmaps
|
Total Hit (2821) |
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 t
....Read More |
Rating
|
|
|
A window that's star-shaped, circular or tank-shaped
|
Total Hit (2618) |
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.
|
Rating
|
|
|
|