Print Page | Close Window

ScrollBar in view appearing blue

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=11451
Printed Date: 01 March 2025 at 12:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ScrollBar in view appearing blue
Posted By: vijaymahajan
Subject: ScrollBar in view appearing blue
Date Posted: 15 July 2008 at 7:46am
Hello,
I have applied the black theme in my application. But the scroll bar on left side in view window is appearing blue.
My view class is derived from CZoomView class.
Can we change this blue color as it is appearing in your ribbonSample application?
Please tell me what to do?
 
Thanks And Regards,
Vijay.



Replies:
Posted By: Oleg
Date Posted: 15 July 2008 at 9:17am
Him
See sources of Samples\Ribbon\RibbonSample\ScrollRichEditView.cpp  file.
 
In most cases you only need
 
CScrollBar* CScrollRichEditView::GetScrollBarCtrl(int nBar) const
{
 ASSERT(nBar == SB_VERT);
 UNUSED(nBar);
 if (!AfxGetMainWnd())
  return NULL;
 return &((CWorkspaceView*)GetParent())->m_wndScrollBar[nBar];
}


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



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