473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Get the system colours

Hi

I can I retrieve the actual colour of the user's system colours but not by
checking the actual value of e.g. a form to find out the colour of the
system control just directly from the system settings

Thank you,
Shmuel Shulman
SBS Technolologies LTD
Nov 21 '05 #1
2 1048
Hi,

Take a look at the systemcolors class.
http://msdn.microsoft.com/library/de...classtopic.asp

Ken
------------------
"S Shulman" <sm*******@hotmail.com> wrote in message
news:OH**************@TK2MSFTNGP12.phx.gbl...
Hi

I can I retrieve the actual colour of the user's system colours but not by
checking the actual value of e.g. a form to find out the colour of the
system control just directly from the system settings

Thank you,
Shmuel Shulman
SBS Technolologies LTD

Nov 21 '05 #2
"S Shulman" <sm*******@hotmail.com> schrieb:
I can I retrieve the actual colour of the user's system colours but not by
checking the actual value of e.g. a form to find out the colour of the
system control just directly from the system settings


Check out 'SystemColors.*'. If you want to draw using these colors, check
out 'SystemBrushes.*' too.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

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

Similar topics

4
by: Els | last post by:
Hi, I would like an opinion on the following: I have a page which is made up of background-images with transparent linked images in front of it, which on hover show text in CSS popups. Due to...
3
by: CSX | last post by:
Hi I have just loaded Visual Basic.Net. I find the interfact colours very drab, especially compared to Office 2003. How do I change the interface colours (currently greys & white) Ta Carlo
3
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
8
by: Doug Laidlaw | last post by:
I tried to grab an image from a Web page the other day. It turned out that the page was made up of three horizontal bands, and part of the image was in each. One band was a JPEG, another was a...
2
by: Phil Stanton | last post by:
When designing a new form or report, the Default ForeColor is often something like -2147483640 which is the colour of Windows text (possibly black) and the default backColor is -2147483643...
4
by: Tim Marshall | last post by:
The report indicated in the send object command below has various colours in it which show nicely when the report is previewed and printed. However, when sent as an attachment to users without...
2
by: Alvo von Cossel I | last post by:
hi, i have a richtextbox in a form and its backcolor property is set a system color (i cannot remember the name) which varies according to the windows xp style e.g. olive green. when the textbox...
3
by: ..:: Kevin ::.. | last post by:
Hello, Is it possible to pick up the colour values used in the XP themes from within .net? I am wanting to set the back colour of one of my forms to the light shade of the theme I am using. ...
1
by: leenadiwan | last post by:
Hi All!! We are doing a POC currently wherein we need to get the System colours in the JSP file. Example: If user has set a specific theme, we want to be able to get the theme details through...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
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,...

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.