Print Page | Close Window

BUG for CustomTheme?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3813
Printed Date: 05 February 2025 at 1:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG for CustomTheme?
Posted By: sion
Subject: BUG for CustomTheme?
Date Posted: 19 March 2006 at 10:53pm

There is a question(maybe a BUG) on the sample of Xtreme ToolkitPro:GUI_MsMoney
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
...
CXTPPaintManager::SetCustomTheme(new CMsMoneyTheme(RGB(140, 163, 196), RGB(91, 125, 173), RGB(122, 149, 187), RGB(74, 111, 165)));
...
}
It used "new" but there is never "delete" to be used,the memory leaks maybe happen,or any reason£¿



Replies:
Posted By: Oleg
Date Posted: 20 March 2006 at 9:42am

Hello,

CXTPPaintManager deletes memory on application exit.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: sion
Date Posted: 20 March 2006 at 9:54am

Nice work!



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