473,326 Members | 1,972 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,326 software developers and data experts.

XP Theme Colours

Hi,

Can anyone guide me on how I might find what colours an XP computer is using
for it's theme? I wish to change border colours of boxes to match those of
standard control borders that usually appear blue if using the standard
theme.

Thanks,
Merlin
Nov 20 '05 #1
2 1061
Hi Merlin,

try the "Windows XP Visual Guidelines" from Microsoft
(http://www.microsoft.com/whdc/hwdev/.../default.mspx).

-> it does only give yout the colors for the standard theme. I got the rest
of the colors by using a color picker tool like pixie
(http://www.nattyware.com/pixie.html)

regards

Mike

"Merlin" <iM*****@hotmail.com> schrieb im Newsbeitrag
news:c1**********@titan.btinternet.com...
Hi,

Can anyone guide me on how I might find what colours an XP computer is using for it's theme? I wish to change border colours of boxes to match those of
standard control borders that usually appear blue if using the standard
theme.

Thanks,
Merlin

Nov 20 '05 #2
Merlin,

* "Merlin" <iM*****@hotmail.com> scripsit:
Can anyone guide me on how I might find what colours an XP computer is using
for it's theme? I wish to change border colours of boxes to match those of
standard control borders that usually appear blue if using the standard
theme.


P/invoke on 'GetThemeColor':

<http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/userex/functions/getthemecolor.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

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

Similar topics

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...
0
by: SpookyET | last post by:
I'm wondering how to access xp theme colours, and i'm not talking about doing the .manifest thing; for example On-Screen Keyboard is blue if you use the default xp colour, while it is dark gray if...
4
by: rawCoder | last post by:
Hi All, Have you noticed that Outlook ( dont remember which version ) utilizes three to four colours to give the Blue theme look AliceBlue LightSteelBlue Midnight Blue You can use the...
3
by: AussieRules | last post by:
Hi, In XP you can set color schemes (olive green, silver, default blue). I have some controls(panels) on my form, and I would like to set the color as per the color of the scheme. Can this...
1
by: Joey | last post by:
Hello, I have tried to programmatically set the theme for my master page by putting code in a "Page_PreInit" fuction in the master page's code behind. However, when I set a breakpoint there and...
1
by: Ron | last post by:
I have an application that requires a login at each visit to the site and can only be accessed by a login. A user can have different themes depending if it was assigned in there profile. Theme...
11
by: greg | last post by:
Hi all, Is there a way to get the current theme name at design time? I'm trying to write a custom control for which I need to use images from the current theme. I have asigned a theme to the...
4
by: g1adiat0r | last post by:
Alright, so I'm working on a board and I want the chatbox located on the board to change colours whenever you change the board theme. I have a couple of questions: If I create a variable in a...
1
by: Henry Stock | last post by:
I am having trouble referencing a theme in my ASP.NET project. I was following a model that allowed for multiple themes. So The theme that I have is stored in named "Base" under the App_Theme...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.