Print Page | Close Window

CXTPPropertyGridItem color ???

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=1718
Printed Date: 21 November 2024 at 4:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyGridItem color ???
Posted By: hpesata
Subject: CXTPPropertyGridItem color ???
Date Posted: 28 January 2005 at 10:04am
Hi!

I am using XTreme Toolkit Pro and I would like to use different fore/background-colors for different
CXTPProperytGridItems. using CXTPPropertyGrid::SetCustomColors() just enables me
to set color-values for the whole grid.

is this possible ?

thanx in advance!

best regards,
Hans




Replies:
Posted By: Oleg
Date Posted: 31 January 2005 at 5:57am

you can try override

DrawItem of CXTPPropertyGridPaintManager

call SetCustomTheme after.

also try to see through OwnerDraw sample.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net