Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - BUG for CustomTheme?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG for CustomTheme?

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


Joined: 19 March 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote sion Quote  Post ReplyReply Direct Link To This Post Topic: BUG for CustomTheme?
    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£¿
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2006 at 9:42am

Hello,

CXTPPaintManager deletes memory on application exit.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
sion View Drop Down
Newbie
Newbie


Joined: 19 March 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote sion Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2006 at 9:54am

Nice work!
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.063 seconds.