Print Page | Close Window

DrawStatusBarPaneBorder

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9348
Printed Date: 01 March 2025 at 11:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DrawStatusBarPaneBorder
Posted By: Kenneth
Subject: DrawStatusBarPaneBorder
Date 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?



Replies:
Posted By: Oleg
Date 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


Posted By: Kenneth
Date Posted: 18 January 2008 at 1:47pm

Ah, now I see the additional CXTPStatusBarPane*. 

 
Thanks Oleg
 



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