Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Individual text color on focused row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Individual text color on focused row

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 226
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Individual text color on focused row
    Posted: 24 August 2020 at 8:44am
Hi, what's the easiest way to change the text color for an individual cell when it is highlighted? I have numbers that I color red when they are out-of-range, but when the row is marked, the text color will be taken from the highlight text color in the paint manager and applied to the whole row... 



Want the number 18 in red to still warn that this number is not valid (even though the row is marked)
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (1) Thanks(1)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 31 August 2020 at 8:56am
Hi;

Take a look at CXTPReportRecord::GetItemMetrics() function.
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.141 seconds.