Hi,
i have a wxListCtrl. When an Item is selected the selectioncolor is blue, that's fine, but when the listctrl looses the Focus it gets gray - I don't like gray.
How can I change this?
greetings
Selection Colour in wxListCtrl Topic is solved
-
- Earned some good credits
- Posts: 135
- Joined: Thu Apr 28, 2005 11:36 am
- Location: Gie
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
- Contact:
wxListCtrl is only native on wxMSW, unfortunately.
For others something returned from wxSystemSettings::GetColour is probably used.
For others something returned from wxSystemSettings::GetColour is probably used.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
-
- Earned some good credits
- Posts: 135
- Joined: Thu Apr 28, 2005 11:36 am
- Location: Gie
Hi!
In fact there is (SetSysColors()), but I wouldn't recommend to use it, as it is "bad style" to change the users general UI just because you don't like gray
In fact there is (SetSysColors()), but I wouldn't recommend to use it, as it is "bad style" to change the users general UI just because you don't like gray
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
-
- Earned some good credits
- Posts: 135
- Joined: Thu Apr 28, 2005 11:36 am
- Location: Gie
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
- Contact:
They have to live with whatever they chose to live with.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/