Phylum Posted December 8, 2003 Posted December 8, 2003 I am making a shape control. Some of the features I would like to have are raised and sunken edges. Can someone steer me in the right direction on what graphics method would provide this or what drawing trick would need to be done in order to accomplish these effects? Phylum Quote
*Gurus* divil Posted December 9, 2003 *Gurus* Posted December 9, 2003 Check out the DrawBorder3D method of the ControlPaint class. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Phylum Posted December 9, 2003 Author Posted December 9, 2003 I did see that method, but I think it only works with rectangles. Do you know of any other methods that will allow me to work with ellipses or graphicspaths? Quote
*Gurus* divil Posted December 10, 2003 *Gurus* Posted December 10, 2003 There aren't any, you're going to have to write them yourself I'm afraid. The system colors you need are: SystemColors.ControlLightLight SystemColors.ControlLight SystemColors.Control SystemColors.ControlDark SystemColors.ControlDarkDark Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.