This one was just for the fun of doing something, I have this sample available
for some time now in a Portuguese site. It started out on a discussion in the pt.comp.programacao about the possibility of making round form.
Updated 06/11/2000
I've included two more sample forms, with sample usage of the CombineRgn and the CreatePolygonRgn API functions.
I'm working on a sample to give shape to the form based on a BITMAP, but this showed me that I didn't understood nothing about Bitmap format, so I'm learning on the subject, and ASAP will have this sample
available... maybe with other goodies about bitmaps too.
The function that is changing the icon when you are passing over the picture box
is a modification from the off-line version of The Access Web made by Douglas J. Taylor Jr., that was also taken out from a example made by Terry Kreft. So I would like to thank both of them for the sample they have provided.
I want to thanks Stephen Lebans and Nuno Martins for helping me out with this code.
Download:
© 2000-2002, Pedro Gil. All
Rights Reserved.
Contact Information:
Please contact Pedro Gil for any additional questions.
|