473,507 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Colour Question

HI I was wondering if anybody know what thw RGB is for the VBButtonFace
colour?.
TIA
Charles
Jan 16 '06 #1
2 1103
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
"vqthomf" <vq*****@discussions.microsoft.com> escribió en el mensaje
news:87**********************************@microsof t.com...
HI I was wondering if anybody know what thw RGB is for the VBButtonFace
colour?.
TIA
Charles

Jan 16 '06 #2
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
Jan 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1586
by: Dave Weaver | last post by:
. We have an old WML1-based WAP site, and I have been asked to investigate updating it to use colour images for modern WAP devices. As I understand it (correct me if I'm wrong) colour image...
1
1391
by: James Dean | last post by:
I know that 16bit colour is split up into 3 "5bit" sections but i can't seems to find how exactly 8bit is split up?.... *** Sent via Developersdex http://www.developersdex.com *** Don't just...
3
910
by: sebastian Santacroce | last post by:
Hi, Is there a way to change the tab colour. I mean the tabs themselves? Doesn't seem to be any colour property or a tab font colour property either. Is this possible? Thanks Seb
4
1433
by: Thief_ | last post by:
I'm trying to create many squares on a form and for every new square, change the background colour to the next colour. I'm trying to create a colour palette showing all available colours and their...
3
10599
by: Mel | last post by:
Hi, Is there any way I can force to change button background colour when toggle button is checked? Just like button change its background colour when mouseover in MS Visual Studio.NET. I hope I...
10
2655
by: Geoff | last post by:
I am using the following statement in a script: If (res == 123) document.write (" Blah Blah"); else document.write (" XYZ"); This of course brings up a new page on my site and prints Blah...
2
1770
by: John Pote | last post by:
Hello, I am new to CSS and come from an embedded/electronics background. Could some help with a question on colours and palettes using named colours rather than hex values (ie color: #aabbcc)....
20
3136
by: Chor Lit | last post by:
Hi, I asked Bjarne Stroustrup about the idea of adding colour standard for C++, and he said that it is very difficult for compiler vendors to change their IDE. But do you think it is possible ? ...
6
2700
Robbie
by: Robbie | last post by:
Hi. I've made 2 functions which play around with colours. They convert a 'colour number' (I don't know what the proper name for it is, so I call it this - the Long given back by RGB(),...
1
2504
by: JSievers | last post by:
Hallo. A good friend of me develops web suites, for example his own at: www.augenpunkte.de. As you can see there my friend is blind and also he uses a Braille-line to develop these projects. For...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.