Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTListCtrl in virtual mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTListCtrl in virtual mode

 Post Reply Post Reply
Author
Message
Russ View Drop Down
Groupie
Groupie
Avatar

Joined: 21 September 2003
Location: Russian Federation
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Russ Quote  Post ReplyReply Direct Link To This Post Topic: CXTListCtrl in virtual mode
    Posted: 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?
Back to Top
Russ View Drop Down
Groupie
Groupie
Avatar

Joined: 21 September 2003
Location: Russian Federation
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Russ Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2006 at 6:54am
oh, and I am still using 9.51
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 12:53am

Hello,

no, don't think so. use standard CListCtrl instead.

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Russ View Drop Down
Groupie
Groupie
Avatar

Joined: 21 September 2003
Location: Russian Federation
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Russ Quote  Post ReplyReply Direct Link To This Post 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..
Back to Top
Russ View Drop Down
Groupie
Groupie
Avatar

Joined: 21 September 2003
Location: Russian Federation
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Russ Quote  Post ReplyReply Direct Link To This Post 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 :)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.