Colour Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI I was wondering if anybody know what thw RGB is for the VBButtonFace
colour?.
TIA
Charles
 
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
 
Hello Charles,

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.

Regards
Cyril Gupta
 

Ask a Question

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.

Ask a Question

Back
Top