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

CXTStatusBar

 Post Reply Post Reply
Author
Message
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Topic: CXTStatusBar
    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);

 

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 1.789 seconds.