Print Page | Close Window

CXTStatusBar

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=1024
Printed Date: 25 December 2024 at 8:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTStatusBar
Posted By: Kenneth
Subject: CXTStatusBar
Date Posted: 05 August 2004 at 10:22am

If the CXTStatusBar is used, when the XP style panes are drawn, each pane will have some "garbage" on the inner right edge, resulting in what looks like a partial double width right border.  This can be corrected by adding the following lines to the CXTStatusBar::OnPaint() function, located in module XTStatusBar.cpp, following line number 399.

 line 398     memDC.Draw3dRect(&rcPane,
 line 399        GetXtremeColor(COLOR_3DSHADOW), GetXtremeColor(COLOR_3DSHADOW));

                 ++rcPane.top;
                 --rcPane.bottom;
                 rcPane.left = rcPane.right-2;
                 --rcPane.right;
                 memDC.FillSolidRect(&rcPane,xtAfxData.clrXPBarFace);

 




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