Print Page | Close Window

CXTPFlowGraphConnectionPoint::SetColor

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18224
Printed Date: 16 June 2024 at 8:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPFlowGraphConnectionPoint::SetColor
Posted By: JDelGaudio
Subject: CXTPFlowGraphConnectionPoint::SetColor
Date Posted: 14 April 2011 at 11:05am
It looks like CXTPFlowGraphConnectionPoint::SetColor isn't working.  I can't get the connection point to be any color other than the default.

Thanks!



Replies:
Posted By: Oleg
Date Posted: 15 April 2011 at 8:04am
Thanks, fixed for next release.

You can update our sources now - in CXTPFlowGraphMetallicTheme::DrawNode add 

COLORREF clrEllipse = pPoint->GetColor();
if (clrEllipse == (COLORREF)-1)
clrEllipse = RGB(182, 182, 182);

pDC->SetBrush(pPoint->IsSelected() ? clrSelection : pPoint->GetConnectionsCount() > 0 ? RGB(250, 252, 58) : clrEllipse);


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


Posted By: JDelGaudio
Date Posted: 21 April 2011 at 2:32pm
Thanks!



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