Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [fixed] Lots of Debug Output from DrawSingleButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[fixed] Lots of Debug Output from DrawSingleButton

 Post Reply Post Reply
Author
Message
lviolette View Drop Down
Groupie
Groupie
Avatar

Joined: 17 March 2007
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (1) Thanks(1)   Quote lviolette Quote  Post ReplyReply Direct Link To This Post Topic: [fixed] Lots of Debug Output from DrawSingleButton
    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
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2016 at 9:35am
Hello,

Fixed. Thank you for bringing this to our attention.

Regards,
 Oleksandr Lebed
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.