Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPChartControl always with black background
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPChartControl always with black background

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


Joined: 02 July 2012
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote GazillaByte Quote  Post ReplyReply Direct Link To This Post Topic: CXTPChartControl always with black background
    Posted: 30 November 2015 at 7:20pm
Hi,

I have several programs that use CXTPChartControl and they work with no problem.

I have created a new program, just an MFC App with a dialog box and the control always comes up with a black background and a grey theme.

With just this in my OnInitDialog

CRect oRect(0, 0, 500, 500);
m_oChart.Create(WS_VISIBLE | WS_CHILD, oRect, this, IDC_CHARTCONTROL);

I get a black box.

If I add a title you can't see it, and if I add a series the points are black.

I am following the examples and having spent all afternoon on this, I need some help.

Any help greatly appreciated.
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.215 seconds.