473,770 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1077
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*****@hotmai l.com> schrieb im Newsbeitrag
news:c1******** **@titan.btinte rnet.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*****@hotmai l.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.a sp>

--
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
2255
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 GIF and I have forgotten what the main page was. Apart from lining up the parts of the image, there was no discrepancy in colours between the two formats. Is that what "Web-safe" means? I thought that it just meant that the colours would be the...
0
1125
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 you use Silver. Oviously those are not the normal colours for a form for those colour schemes.
4
2482
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 above colours in appropriate places to give the look of
3
1806
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 be done ?
1
8006
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 run the app, the breakpoint is never hit. Of course my theme is not being applied. The above procedure works fine for any content page, but obviously doesn't work for my master page. So, how does one properly and programmatically set a theme...
1
1759
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 A is considered the default theme for the site But different users can have different themes. User A has Theme A User B has Theme B Logs in sees Theme A During Login sees Theme A after login sees Theme B
11
6530
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 page as well as in the web.config. The control looks ok at run time but when viewed in the Visual Studio designer it cannot pick up the current theme.
4
2144
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 separate Javascript coding will it carry over to another set of Javascript code on the page? Anyway, I'm totally winging this and I have NO experience with Javascript, but here's what I tried to do: <script language="Javascript"><!-- var x =...
1
2367
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 folder that is stored at the root of my project folder. It is really the one I want to use for all pages, so I thought I would reference it in the web.config file: <pages masterPageFile="~/Masters/SiteTemplate.master"
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10259
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6710
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.