Print Page | Close Window

CXTPChartControl always with black background

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=23307
Printed Date: 27 April 2024 at 12:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPChartControl always with black background
Posted By: jli1
Subject: CXTPChartControl always with black background
Date Posted: 03 April 2017 at 5:03pm
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.

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.

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

Any help greatly appreciated.




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