![]() |
CXTListCtrl row color with LVS_OWNERDATA |
Post Reply ![]() |
Author | |
joggx ![]() Groupie ![]() Joined: 21 August 2007 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() Posted: 12 December 2009 at 3:51am |
How to enable row color (like with SetRowColor) in CXTListCtrl which is created with LVS_OWNERDATA?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Most easy way is to create class derveid from CXTListCtrl make same OnCustomDraw - and copy some code from original class.
+ add in messagemap ON_NOTIFY_REFLECT(NM_CUSTOMDRAW, OnCustomDraw)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
joggx ![]() Groupie ![]() Joined: 21 August 2007 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
it works. thanks.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |