Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - CXTPPropertyGridItemColor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPropertyGridItemColor

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


Joined: 02 July 2009
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote link Quote  Post ReplyReply Direct Link To This Post Topic: CXTPPropertyGridItemColor
    Posted: 13 July 2009 at 2:22pm

Hi,

In a CXTPPropertyGridItemColor object, how to avoid displaying the RGB value of the colour on the grid?
 
Thx.
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 13 July 2009 at 7:17pm
Hi;

Just derive from CXTPPropertyGridItemColor and provide your own OnDrawItemValue(CDC& dc, CRect rcValue) function.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
link View Drop Down
Groupie
Groupie


Joined: 02 July 2009
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote link Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2009 at 8:46am
okay, 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.