Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Chart Control
  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
jli1 View Drop Down
Groupie
Groupie
Avatar

Joined: 15 November 2016
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote jli1 Quote  Post ReplyReply Direct Link To This Post Topic: CXTPChartControl always with black background
    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.

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.188 seconds.