Author Topic: code completion selection menu too light gray  (Read 5065 times)

Offline Aranir

  • Single posting newcomer
  • *
  • Posts: 3
code completion selection menu too light gray
« 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
« Last Edit: April 04, 2010, 09:20:14 am by Aranir »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: code completion selection menu too light gray
« Reply #1 on: April 05, 2010, 08:08:06 pm »
Screenshot?
OS, CB and wxWidgets version?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Aranir

  • Single posting newcomer
  • *
  • Posts: 3
Re: code completion selection menu too light gray
« Reply #2 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]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: code completion selection menu too light gray
« Reply #3 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?

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline den__

  • Single posting newcomer
  • *
  • Posts: 2
Re: code completion selection menu too light gray
« Reply #4 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]

Offline Aranir

  • Single posting newcomer
  • *
  • Posts: 3
Re: code completion selection menu too light gray
« Reply #5 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: code completion selection menu too light gray
« Reply #6 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 ?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline den__

  • Single posting newcomer
  • *
  • Posts: 2
Re: code completion selection menu too light gray
« Reply #7 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]