forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Desktop Icon Text Color?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat May 28, 2005 3:41 am    Post subject: Desktop Icon Text Color? Reply with quote

Anyone know how to find out what color the text of the desktop icons are
using VDS?

Thanks,
-Garrett
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat May 28, 2005 5:34 am    Post subject: Reply with quote

Try looking in the registry at HKEY_CURRENT_USER\Control Panel\Colors
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat May 28, 2005 4:59 pm    Post subject: Reply with quote

You can use my System Colors DSU.

http://www.vdsworld.com/download.php?id=315&sid=8a2cabf1fb5f7b863ec3dcc2dbafa4c1

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat May 28, 2005 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat May 28, 2005 5:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat May 28, 2005 5:54 pm    Post subject: Reply with quote

To be more specific:

@regread(HCU,"Control Panel\Colors",Background)

The Icon text background inherits the desktop background color.
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat May 28, 2005 9:03 pm    Post subject: Reply with quote

It uses GetSysColor from the user32.dll to get the colors
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group