scroll bar style bug |
Post Reply |
Author | |
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Posted: 16 August 2007 at 6:42am |
We have initialised a vertical and horizontal scroll bar however both have different styles ???
m_VScrollBar.Create( WS_CHILD | WS_VISIBLE | SBS_VERT, CRect( 0, 0, 0, 0 ), this, 100 );
m_VScrollBar.SetScrollBarStyle( xtpScrollStyleOffice2007Dark );
m_HScrollBar.Create( WS_CHILD | WS_VISIBLE | SBS_HORZ, CRect( 0, 0, 0, 0 ), this, 100 );
m_HScrollBar.SetScrollBarStyle( xtpScrollStyleOffice2007Dark ); but we set both scroll bars to same xtpScrollStyleOffice2007Dark, any ideas please ?
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
Also for some reason I cannot get the scroll bars to work, I have a OnVScroll handler and also a calculateverticalscrollbar function which both look fine (see attached file), but for some reason it wont set the scroll bar position ???
Any help appreciated
see this file to see our code
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
I don't see OnHScrollbar and CalculateHorizontalScrollBar in attachment.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
ah fixed that issue, but see the image, above why does the horizontal scroll bar have a different colour scheme to vertical scroll bar ?
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
guess you include ribbon bitmaps from previous version.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
Hi
Not at all, I installed 11.1.3 and use 11.1.3, I installed over top of old versions :(
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
hI,
Set breakpoint in CXTPControlGalleryOffice2007Theme::DrawScrollBar method in
---
else
{ CXTPOffice2007Image* pImageBackground = pPaintManager->LoadImage( bLight ? _T("CONTROLGALLERYSCROLLHORIZONTALLIGHT") : _T("CONTROLGALLERYSCROLLHORIZONTALDARK")); --- and check if pImageBackground is not null.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
looking into this and will reply soon with what it does
Cheers
Terry
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
Ok I tried above and pImageBackground is not null ??? very strange, what else can I check please as it clearly has pointers and is drawing
CONTROLGALLERYSCROLLVERTICALDARK CONTROLGALLERYSCROLLHORIZONTALDARK Look forward to a reply |
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Create small sample and attach it in issue.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
This problem was fixed in https://forum.codejock.com/forum_posts.asp?TID=8131&KW=scroll+bar
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
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 |