Print Page | Close Window

Markup & default text color

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15969
Printed Date: 21 June 2025 at 11:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup & default text color
Posted By: jimmy
Subject: Markup & default text color
Date Posted: 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




Replies:
Posted By: Oleg
Date Posted: 12 January 2010 at 1:16am
yes.

-------------
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