Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - ScrollBar in view appearing blue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ScrollBar in view appearing blue

 Post Reply Post Reply
Author
Message
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post Topic: ScrollBar in view appearing blue
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
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.