Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 How can I change the highlight color in listbox?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lusnaow
New Member

6 Posts

Posted - Apr 18 2011 :  11:58:06 PM  Show Profile  Reply with Quote
I have seen a blue highlight color in listbox like:



But my highlight color in listbox is nearly transparent,which is very inconvenient
,like:



If I disable VAssistX,the color is grey:



How can I change the color?




sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 19 2011 :  01:41:54 AM  Show Profile  Reply with Quote
You can change the value of the UseThemedCompletionBoxSelection2 registry entry from 1 to 0 to disable the use of the windows theme for the listbox selection.

For VS2005, the value is at:
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet8

For VS2008:
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet9

Make sure to exit all instances of Visual Studion before changing the value.
Go to Top of Page

lusnaow
New Member

6 Posts

Posted - Apr 19 2011 :  07:56:40 AM  Show Profile  Reply with Quote
quote:
Originally posted by sean

You can change the value of the UseThemedCompletionBoxSelection2 registry entry from 1 to 0 to disable the use of the windows theme for the listbox selection.

For VS2005, the value is at:
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet8

For VS2008:
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet9

Make sure to exit all instances of Visual Studion before changing the value.





Thanks a lot.This solution can be help.But is there anyway to choose the color by myself?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 19 2011 :  4:23:54 PM  Show Profile  Reply with Quote
We don't provide a way to specify the highlight background color. VA uses the Windows system highlight color when UseThemedCompletionBoxSelection2 is 0. Are you finding that VA is not using the the highlight color or do you want the highlight color to be different in VA than in Windows?
Go to Top of Page

lusnaow
New Member

6 Posts

Posted - Apr 19 2011 :  10:32:21 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean

We don't provide a way to specify the highlight background color. VA uses the Windows system highlight color when UseThemedCompletionBoxSelection2 is 0. Are you finding that VA is not using the the highlight color or do you want the highlight color to be different in VA than in Windows?


After changing UseThemedCompletionBoxSelection2 from 1 to 0,the highlight color has turned to light grey,which is the Windows system highlight color.Honestly,this color is not beautiful and is hard to distinguish it from white which is the background color of listbox.I want a bright color like blue(in the first picture I have inserted),or can we change the Windows system highlight color?

Edited by - lusnaow on Apr 19 2011 10:34:13 PM
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 20 2011 :  2:23:52 PM  Show Profile  Reply with Quote
Yes, you can change the Windows system highlight color (actually listed as Selected Items in the control panel); VA will use that color when UseThemedCompletionBoxSelection2 is disabled.
Go to Top of Page

lusnaow
New Member

6 Posts

Posted - Apr 21 2011 :  11:50:40 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean

Yes, you can change the Windows system highlight color (actually listed as Selected Items in the control panel); VA will use that color when UseThemedCompletionBoxSelection2 is disabled.


Honesly this does not work on my computer.The highlight color in listbox does not change after I change the color of Selected Items in the control panel.I donot know why.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Apr 22 2011 :  09:15:53 AM  Show Profile  Reply with Quote
Which OS, IDE and version of VA are you using? I can then try this on the same OS and IDE, and see what results I get.

zen is the art of being at one with the two'ness
Go to Top of Page

lusnaow
New Member

6 Posts

Posted - Apr 22 2011 :  10:37:35 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Which OS, IDE and version of VA are you using? I can then try this on the same OS and IDE, and see what results I get.


OS:Windows 7 Ultimate 32bit
IDE:VS2008(Version 9.0.21022.8 RTM) with SP1
VA:Version 10.6.1842.0

Thank you very much for your help.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Apr 22 2011 :  3:21:17 PM  Show Profile  Reply with Quote
The colour change is working correctly for me under Windows 7. First a simple sanity check, please use Windows Key + R to show the Run dialog box, and select some text in this dialog. What colour is the selection shown in?

I have changed my selected items colour, via:

Control Panel -> Personalization -> Window Color -> Advanced appearance settings... -> Item = Selected Items

to red, and my Run dialog looks like this:



If you are not seeing the colour change here, then we need to look at your windows settings. If you are seeing the colour change here, but not in the IDE then this helps to narrow down the problem a bit.

zen is the art of being at one with the two'ness
Go to Top of Page

lusnaow
New Member

6 Posts

Posted - Apr 22 2011 :  11:40:27 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

The colour change is working correctly for me under Windows 7. First a simple sanity check, please use Windows Key + R to show the Run dialog box, and select some text in this dialog. What colour is the selection shown in?

I have changed my selected items colour, via:

Control Panel -> Personalization -> Window Color -> Advanced appearance settings... -> Item = Selected Items

to red, and my Run dialog looks like this:



If you are not seeing the colour change here, then we need to look at your windows settings. If you are seeing the colour change here, but not in the IDE then this helps to narrow down the problem a bit.



The problem has been solved perfectly.









Appreciate your help very much.

Edited by - lusnaow on Apr 22 2011 11:44:33 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000