Home
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
 
 
 
 
TitleMake a transparent clock face
Keywordstransparent, clock, face, SetWindowRgn, CreateRectRgn, CombineRgn, region
CategoriesAPI
 
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.

 
 
Copyright © 1997-2001 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated