Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTListCtrl row color with LVS_OWNERDATA
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTListCtrl row color with LVS_OWNERDATA

 Post Reply Post Reply
Author
Message
joggx View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote joggx Quote  Post ReplyReply Direct Link To This Post Topic: CXTListCtrl row color with LVS_OWNERDATA
    Posted: 12 December 2009 at 3:51am
How to enable row color (like with SetRowColor) in CXTListCtrl which is created with LVS_OWNERDATA?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 14 December 2009 at 6:37am
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
Back to Top
joggx View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote joggx Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2009 at 10:43pm
it works. thanks.

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.172 seconds.