Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Aranir on April 04, 2010, 09:15:29 am

Title: code completion selection menu too light gray
Post by: Aranir on April 04, 2010, 09:15:29 am
Good Day

I just started programming and am getting used to use Codeblocks.

If I use the code completion the window shows up with a selection to choose which of the suggested possible completions i want to choose. Unfortunatley the highlight selection is a too light gray and I can't destiguish it from the white background, which makes it really hard to select it with the arrow keys.

Is there a way to change the color of the highlighting of the selection box of the code-completion?

Thank you for any help
Title: Re: code completion selection menu too light gray
Post by: oBFusCATed on April 05, 2010, 08:08:06 pm
Screenshot?
OS, CB and wxWidgets version?
Title: Re: code completion selection menu too light gray
Post by: Aranir on April 07, 2010, 12:14:03 pm
Os is is Windows 7

The CB Version is the actual release which I just downloaded from the site (8.02)
but I don't know where to get the information about the wxWidgets.

In the screenshot you see that the selection is a light gray. Is there a way to make it a darker color to make it easier to destinguish?

[attachment deleted by admin]
Title: Re: code completion selection menu too light gray
Post by: ollydbg on April 07, 2010, 03:35:08 pm
All the colors can be configured. Because c::b use wxscintilla control pre-defined color. But I'm not sure where can be configured?

Is it in : Menu->Settings->Editor->syntax highlighting?

Title: Re: code completion selection menu too light gray
Post by: den__ on May 04, 2010, 08:47:23 pm
I have same problem.

Windows XP SP3
C::B 8.02 build Feb 27 2008 ... wx2.8.7 (windows, unicode)

>Is it in : Menu->Settings->Editor->syntax highlighting?
No. I didn't find there something like it.

[attachment deleted by admin]
Title: Re: code completion selection menu too light gray
Post by: Aranir on May 04, 2010, 11:01:21 pm
Just so you know I still haven't found a solution for the problem.

On m laptop I can decrease the brightness of my screen so it is a bit better viewable but I really hope there is a solution to find for this.

anyone could give some advice?
Title: Re: code completion selection menu too light gray
Post by: oBFusCATed on May 05, 2010, 01:24:27 pm
After some digging: the control you see is wxListBox
http://docs.wxwidgets.org/stable/wx_wxlistbox.html looking at the API - there are no methods that can be used to change the colors

Can you post screenshots from Project -> Properties -> Build targets ?
Title: Re: code completion selection menu too light gray
Post by: den__ on May 05, 2010, 08:55:56 pm
>Can you post screenshots from Project -> Properties -> Build targets ?
Here it is.

But, comboboxes in "Build targets" window have windows class name "ListBox" and code-completion menu has class name "SysListView32". May it be absolutely different controls?

[attachment deleted by admin]