Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How to get the text color of each row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get the text color of each row

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


Joined: 15 March 2007
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote fireflame Quote  Post ReplyReply Direct Link To This Post Topic: How to get the text color of each row
    Posted: 23 October 2008 at 2:05am
In vertiual mode,I use pDrawArgs->pItem->SetTextColor(RGB(0,170,0)); to set the text color of each row
now i want to paint the report,how can i retrieve the text color?
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2008 at 4:28pm
Override CXTPReportRecordItem::GetItemMetrics
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2008 at 4:29pm
Lol... I can't read today :P
 
pItem->GetPaintManager()->GetTextColor()? Don't remember
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.145 seconds.