|
From: szurilo on 22 Apr 2008 09:20 Hi! I have a wxlistctrl with a virtual list. I want to highlight some row or cell with the changing of the backgroundcolor. How can i do that? SetItemBackgroundColor() doesnt work. I chechked the sample/listctrl and found there is a kind of a solution in the OnListkeyDown() but that's also doesnt work for me when i press 'c' or 'C'. Szurilo -- View this message in context: http://www.nabble.com/wx-virtual-list-backgroundcolor-tp16824253p16824253.html Sent from the wxWidgets - Users mailing list archive at Nabble.com.
From: Vadim Zeitlin on 22 Apr 2008 12:19 On Tue, 22 Apr 2008 06:20:48 -0700 (PDT) szurilo <szurilo(a)sch.bme.hu> wrote: s> I have a wxlistctrl with a virtual list. I want to highlight some row or s> cell with the changing of the backgroundcolor. How can i do that? You need to return the appropriate attribute from OnGetItemAttr(). Regards, VZ -- TT-Solutions: wxWidgets consultancy and technical support http://www.tt-solutions.com/
|
Pages: 1 Prev: comp.soft-sys.wxwindows charter Next: Build problems (SVN HEAD / wxMac) |