|
|
Title | Make a transparent clock face |
Keywords | transparent, clock, face, SetWindowRgn, CreateRectRgn, CombineRgn, region |
Categories | API |
|
|
By David Tufts.
Make Windows regions for sections of a bitmap that defines the clock's face. Use CombineRgn to join them. After building the complete clock face, use SetWindowRgn to restrict the program's form to the region.
This example also shows how to let the user click and drag anywhere on the form to move the clock.
|
|
|
|
|
|