![]() |
ScrollBar in view appearing blue |
Post Reply ![]() |
Author | |
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |