The class System.Drawing.Color has several methods or properties to get the
RGB components, such as the ToRgb method. ButtonFace is a system color so I
think that the actual RGB components depend on the Windows settings for
colors. On my system is C0h for R, G and B.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster: http://www.mztools.com
This is totally system specific. Like Carlos said, you should use The
System.Draw.Color namespace to get the currently set colors in the Windows
theme that the user has, unless of course you need to use specific colors.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.