Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - DrawStatusBarPaneBorder
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DrawStatusBarPaneBorder

 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: DrawStatusBarPaneBorder
    Posted: 18 January 2008 at 12:36pm
In previous versions, when the CCustomOffice2003Theme was set, the function DrawStatusBarPaneBorder was called and could be overridden.  In the current version, this function appears not to be called.
 
This presents a problem on Windows 2003 systems in which the default color being used for the pane borders is set to a RGB value of 211-211-211 which cannot be seen on the default statusbar background of RGB 212-208-200.
 
How can one either have the DrawStatusBarPaneBorder called when the theme is set to CCustomOffice2003Theme or change the default border color on Windows 2003 systems?
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: 18 January 2008 at 1:34pm

Hi,

Check if you have these parameters:
 
virtual void DrawStatusBarPaneBorder(CDC* pDC, CRect rc, CXTPStatusBarPane* pPane, BOOL bGripperPane);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
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 Posted: 18 January 2008 at 1:47pm

Ah, now I see the additional CXTPStatusBarPane*. 

 
Thanks Oleg
 
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.051 seconds.