Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted
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?
  • *Gurus*
Posted

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

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...