Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Chart Control
  New Posts New Posts RSS Feed - CXTPFlowGraphConnectionPoint::SetColor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPFlowGraphConnectionPoint::SetColor

 Post Reply Post Reply
Author
Message
JDelGaudio View Drop Down
Newbie
Newbie


Joined: 31 March 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote JDelGaudio Quote  Post ReplyReply Direct Link To This Post Topic: CXTPFlowGraphConnectionPoint::SetColor
    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!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
JDelGaudio View Drop Down
Newbie
Newbie


Joined: 31 March 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote JDelGaudio Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2011 at 2:32pm
Thanks!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.