| View previous topic :: View next topic |
| Author |
Message |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat May 28, 2005 3:41 am Post subject: Desktop Icon Text Color? |
|
|
Anyone know how to find out what color the text of the desktop icons are
using VDS?
Thanks,
-Garrett |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat May 28, 2005 5:34 am Post subject: |
|
|
| Try looking in the registry at HKEY_CURRENT_USER\Control Panel\Colors |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat May 28, 2005 5:26 pm Post subject: |
|
|
| Aslan wrote: | | Try looking in the registry at HKEY_CURRENT_USER\Control Panel\Colors |
I did, and I can't find any reference to the desktop icon text color.
If I remember correctly, windows selects the color automatically based
on the color of the desktop and or the wallpaper. We can't adjust the
desktop icon text color. Which is fine, since I only need to know the
color so I can adjust the color of some text in my program.
-Garrett |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat May 28, 2005 5:28 pm Post subject: |
|
|
| LiquidCode wrote: | | You can use my System Colors DSU |
Does it just grab the info from the same registry location as noted above?
-Garrett |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat May 28, 2005 5:54 pm Post subject: |
|
|
To be more specific:
@regread(HCU,"Control Panel\Colors",Background)
The Icon text background inherits the desktop background color. |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat May 28, 2005 9:03 pm Post subject: |
|
|
It uses GetSysColor from the user32.dll to get the colors _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
|