Print Page | Close Window

[fixed] Lots of Debug Output from DrawSingleButton

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=23217
Printed Date: 23 December 2024 at 3:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [fixed] Lots of Debug Output from DrawSingleButton
Posted By: lviolette
Subject: [fixed] Lots of Debug Output from DrawSingleButton
Date Posted: 29 November 2016 at 6:50pm
XTPTabThemeVisualStudio2010.cpp contains the following method:

CXTPTabThemeVisualStudio2010::DrawSingleButton

At the bottom of this method is this code:

CFont *pFont = pDC->GetCurrentFont();
LOGFONT lf;
pFont->GetLogFont(&lf);
TRACE(_T("%s %d\n"), lf.lfFaceName, lf.lfWeight);

m_pPaintManager->DrawSingleButtonIconAndText(pDC, pItem, pItem->GetRect(), TRUE);

It would be nice if there was an
#ifdef 0
#endif
wrapped around the CFont *pFont line and the TRACE statement. It generates a lot of SPAM in the debug output window in our application.




-------------
L. Violette
Monolith
www.lith.com
Xtreme Toolkit Pro v22.1.0



Replies:
Posted By: olebed
Date Posted: 30 November 2016 at 9:35am
Hello,

Fixed. Thank you for bringing this to our attention.

Regards,
 Oleksandr Lebed



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