|
-
Feb 21st, 2002, 04:22 AM
#1
Thread Starter
Lively Member
Working with shapes
Morning all
I am having a problem using api with shapes. I have a number of positions on my page, that will change from time to time, and i need my picturebox to shape to those specific points.? anyone know how to do that??
-
Feb 21st, 2002, 04:55 AM
#2
Look into the CreatePolygonRgn and SetWindowRgn API functions. Don't forget to delete the regions you create with DeleteObject, otherwise your program will be leaking GDI objects.
Please note that the CreatePolygonRgn function uses pixel dimensions and not twips.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|