Print Page | Close Window

Ribbon Sample Black Style has Blue Scrollbar

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=6103
Printed Date: 12 November 2025 at 5:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Sample Black Style has Blue Scrollbar
Posted By: robosport
Subject: Ribbon Sample Black Style has Blue Scrollbar
Date Posted: 13 January 2007 at 2:54am
I'm sorry if this has been noticed and asked before but I didn't see it while searching through the forum.
 
I'm using the Ribbon Sample in 10.4 and I noticed when the style is set to ID_OPTIONS_STYLEBLACK the UI is correct except for the scroll bar. The scroll bar on the document still turns blue when you mouse over it.
 
Is there an easy fix for this?
 
Thanks!



Replies:
Posted By: Oleg
Date Posted: 13 January 2007 at 3:50am
Hi,
There is special CXTPScrollBar class that use selected Ribbon Themes. you can use it.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: robosport
Date Posted: 13 January 2007 at 4:04am
Hi Oleg,
 
Let me clarify. I'm using the Ribbon SDI Sample that comes with 10.4. It is already using the CXTPScrollBar class in CWorkspaceView.
 
If I compile your sample with no changes and run it, then select the Black style on the Options menu, everything in the UI uses the black style except mousing over the CXTPScrollBar which still shows light blue.
 
The Silver style also shows a blue that looks out of place when mousing over the CXTPScrollBar.
 
The Aqua style appears correct.
 
Is there a bug or is the black style really supposed to have a bright blue scrollbar when the mouse is over it or clicking on it?
 
Thanks!
 
 


Posted By: ABuenger
Date Posted: 13 January 2007 at 5:57am
Office 2007 has a highlighted blue scrollbar too.







-------------
Codejock support


Posted By: robosport
Date Posted: 13 January 2007 at 12:36pm
Good point. It looked so wrong and out of place I never even thought to check and see if it matched the real Office. Just out of curiosity, how would I go about changing the sroll bar color in XTP? Thank you!


Posted By: Oleg
Date Posted: 14 January 2007 at 3:24am
Hi,
Change this file:
Source\Ribbon\Styles\Office2007Black\res\Office2007_ControlGalleryScrollThumbVertical.png


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: robosport
Date Posted: 14 January 2007 at 3:44am
Ah you just opened a whole world to me. That is exactly what I needed. Thank you Oleg!
 
Now I can customize other parts too. This is great.



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