Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Ribbon Sample Black Style has Blue Scrollbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon Sample Black Style has Blue Scrollbar

 Post Reply Post Reply
Author
Message
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon Sample Black Style has Blue Scrollbar
    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!
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post 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!
 
 
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2007 at 5:57am
Office 2007 has a highlighted blue scrollbar too.





Codejock support
Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 14 January 2007 at 3:24am
Hi,
Change this file:
Source\Ribbon\Styles\Office2007Black\res\Office2007_ControlGalleryScrollThumbVertical.png
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
robosport View Drop Down
Groupie
Groupie


Joined: 20 June 2005
Location: United States
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote robosport Quote  Post ReplyReply Direct Link To This Post 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.
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.047 seconds.