![]() |
ReadOnly State Text |
Post Reply ![]() |
Author | |
fxrz ![]() Newbie ![]() Joined: 11 July 2005 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 11 July 2005 at 8:05am |
Hello everyone: I have derived my own custom class from CXTPropertyGridPaintManager and overriden the DrawItem function in order to get a new aspect for the property grid. The problem comes when I select a non category item with a TRUE read-only state. It overwrites my selected colors and uses white background and gray text. May somebody knows how to avoid (what class or function should I overwrite?) this problem? Thanks. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
in 9.70 was added virtual COLORREF GetItemTextColor(CXTPPropertyGridItem* pItem, BOOL bValuePart); virtual COLORREF GetItemBackColor(CXTPPropertyGridItem* pItem, BOOL bValuePart); that you can overwrite.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
fxrz ![]() Newbie ![]() Joined: 11 July 2005 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
It works nicely. Just I need. Thank you, Oleg. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |