XTPChartControl resource problem |
Post Reply |
Author | |
evoX
Senior Member Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Posted: 25 June 2011 at 8:20am |
I have a chart control in a dialog application, it works fine, but the application was translated to another language and when I change the language and the application starts with the resources loaded from the German DLL the chart control is not created and OnInitDialog is not called.
I have removed everything from the dialog and left just the chart control without being derived from CXTPChartConrol and the dialog is still not calling oninitdialog and it is not displayed. It seems that there is a problem with the XTPChartControl class which you define in the resource editor and has nothing to do with CXTPChartControl |
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
In constructor of your Dialog call
m_wndChartControl.RegisterWindowClass(AfxGetResourceHandle());
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
evoX
Senior Member Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
|
Thanks it works!
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
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 |