![]()  | 
 
scroll bar style bug | 
 
    Post Reply  
   | 
  
| Author | |
   
   terrym  
   
   Senior Member  
   Joined: 13 April 2007 Status: Offline Points: 836  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: scroll bar style bugPosted: 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)
      Quote   Reply
   
     Posted: 16 August 2007 at 10:28am | 
 
| 
   
    
   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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 17 August 2007 at 8:47am | 
 
| 
   
    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)
      Quote   Reply
   
     Posted: 17 August 2007 at 8:51am | 
 
| 
   
    
   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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 August 2007 at 4:05am | 
 
| 
   
    
   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)
      Quote   Reply
   
     Posted: 18 August 2007 at 7:33am | 
 
| 
   
    
   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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 20 August 2007 at 2:42am | 
 
| 
   
    
   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)
      Quote   Reply
   
     Posted: 21 August 2007 at 6:19am | 
 
| 
   
    
   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)
      Quote   Reply
   
     Posted: 28 August 2007 at 3:19am | 
 
| 
   
    
   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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 September 2007 at 5:37am | 
 
| 
   
    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)
      Quote   Reply
   
     Posted: 24 September 2007 at 4:53am | 
 
| 
   
    
   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  |