![]() |
Markup & default text color |
Post Reply
|
| Author | |
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Topic: Markup & default text colorPosted: 08 January 2010 at 8:43am |
|
Hello,
i use you MarkupListCtrl. Now i will change the text color for the selected item. some like this if (((nItemState & ODS_SELECTED) != 0)) this->CXTPMarkupContext::SetDefaultTextColor(RGB(255,255,255)); else this->CXTPMarkupContext::SetDefaultTextColor(RGB(0,0,0)); pItem->m_pItem->Arrange(rc); pItem->m_pItem->Render(&dc); Is this the correct way ? Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 January 2010 at 1:16am |
|
yes.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |