![]() |
CXTPFlowGraphConnectionPoint::SetColor |
Post Reply ![]() |
Author | |
JDelGaudio ![]() Newbie ![]() Joined: 31 March 2009 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() 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!
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
JDelGaudio ![]() Newbie ![]() Joined: 31 March 2009 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Thanks!
|
|
![]() |
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 |