![]() |
Ribbon Sample Black Style has Blue Scrollbar |
Post Reply
|
| Author | |
robosport
Groupie
Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Topic: Ribbon Sample Black Style has Blue ScrollbarPosted: 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!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
robosport
Groupie
Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
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!
|
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 January 2007 at 5:57am |
|
Office 2007 has a highlighted blue scrollbar too.
![]() ![]() |
|
|
Codejock support
|
|
![]() |
|
robosport
Groupie
Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
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!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
robosport
Groupie
Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |