Search found 5 matches

by IronFace
Tue Feb 27, 2018 2:04 am
Forum: C++ Development
Topic: How to change wxPropertyGridManager's wxPGCellRenderer?
Replies: 0
Views: 590

How to change wxPropertyGridManager's wxPGCellRenderer?

Hi, guys. I work at win7 pro with wxWidegets3.03. I‘m using wxPropertyGridManager to display and control. 0629AEBD-6F5E-423d-AB66-385B071E6C9B.png I' want to changed the wxPropertyCategory's appearance, use other image to replace the plus and minus image. And draw it at the right side of the wxPrope...
by IronFace
Thu Dec 28, 2017 5:24 am
Forum: C++ Development
Topic: How to change highlight colour of wxTreeCtrl?
Replies: 4
Views: 501

Re: How to change highlight colour of wxTreeCtrl?

Hello, Never used the tree control until now, but did this for some wxListCtrl's. Maybe it can drive you to a working direction. Here the wxListCtrl is called lstSessions and it belongs to a panel called ImporterPanel. Hi,eranon. I try other way to make the item obvious when it selected. Such as ch...
by IronFace
Thu Dec 28, 2017 5:17 am
Forum: C++ Development
Topic: How to change highlight colour of wxTreeCtrl?
Replies: 4
Views: 501

Re: How to change highlight colour of wxTreeCtrl?

Hi, wxWidgets is known for keeping a native behaviour. What it means is that the library is using "native" set of controls/widgets wherever and whenever possible. You can try to use conditional compilation in your project by overriding DefWindowProc or any other Windows-specific functions, but don'...
by IronFace
Mon Dec 25, 2017 6:26 am
Forum: wxWidgets Development (Chinese)
Topic: 关于wxTreeCtrl的选择高亮效果
Replies: 0
Views: 855

关于wxTreeCtrl的选择高亮效果

大家好,
我是在Win7 pro上使用wxWidgets3.03进行开发的。
使用wxTreeCtrl时,选择的item高亮颜色太浅,而且ctrl失去focus时还会置灰。
我在别的帖子里看到这是windows的默认行为,在wxTreeCtrl中也没发现能重写的Draw、Paint、Render方法。
对这种情况,有办法改变吗?
还是说去用wxDataViewTreeCtrl?
by IronFace
Mon Dec 25, 2017 5:42 am
Forum: C++ Development
Topic: How to change highlight colour of wxTreeCtrl?
Replies: 4
Views: 501

How to change highlight colour of wxTreeCtrl?

Hi, guys. I work at win7 pro with wxWidegets3.03. I have a problem with wxTreeCtrl. The colour of select highlight is unconspicuous.And when the ctrl lost focus, the item turn gray. https://forums.wxwidgets.org/viewtopic.php?f=27&t=7616&p=34711&hilit=wxtreectrl+select#p34711 I find this topic, it sa...