![]() |
CXTListCtrl in virtual mode |
Post Reply
|
| Author | |
Russ
Groupie
Joined: 21 September 2003 Location: Russian Federation Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTListCtrl in virtual modePosted: 24 September 2006 at 6:52am |
|
Hi there,
is there anyway to use CXTListCtrl's method SetRowColor when the control itself is in LVS_OWNERDATA mode? |
|
![]() |
|
Russ
Groupie
Joined: 21 September 2003 Location: Russian Federation Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 September 2006 at 6:54am |
|
oh, and I am still using 9.51
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 September 2006 at 12:53am |
|
Hello, no, don't think so. use standard CListCtrl instead.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Russ
Groupie
Joined: 21 September 2003 Location: Russian Federation Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 September 2006 at 2:10am |
|
Well, the CXTListCtrl itself works flawlessly in virtual mode.. the only problem is SetRowColor method invoking RedrawControl(if I recall correctly - I am not on my devel machine now). I even hacked the sourcecode and did a rebuild, but no luck..
|
|
![]() |
|
Russ
Groupie
Joined: 21 September 2003 Location: Russian Federation Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 October 2006 at 5:14am |
|
Hi again,
I want to answer my own question here: I looks like I rely too much on XTP while the solution is provided by MFC itself - NM_CUSTOMDRAW message and NMLVCUSTOMDRAW struct :) |
|
![]() |
|
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 |