Print Page | Close Window

Scrollbar drawing bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=12066
Printed Date: 17 May 2024 at 11:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Scrollbar drawing bug
Posted By: cpede
Subject: Scrollbar drawing bug
Date Posted: 04 September 2008 at 4:17am
This problem really frustrates me. I have spend 2 days just finding the reason. I know it is a part of my implementation because it is not a common problem, but maybe someone recognize the problem and even better have a solution
 
 
As you can see a scrollbar is displayed inside the Report? I'm sure that the scrollbar corresponds to the scrollbar when I restore my window from maximized. So maybe the problem is due to having the app. maximized? The drawing of the scrollbar also comes very late in the drawing process. I have added a lot of RedrawControl and RedrawWindow etc. in OnSize and OnActivate but nothing helps  As soon as I click in the Report is disappears and everything is OK. I also played around with the Clipchildren and Siblings with no luck. I'm using Tabbed MDI, and if I click on the Tab it also disappears.
 
-cpede



Replies:
Posted By: znakeeye
Date Posted: 08 September 2008 at 7:06am

Are you using CXTScrollBar?



Posted By: cpede
Date Posted: 09 September 2008 at 3:33am
No, it is just the standard CXTPReport control. I simply just can't get rid of it  


Posted By: Oleg
Date Posted: 09 September 2008 at 5:30am
Hi,
 
Maybe you have CSplitterWnd ? It can't be standard scrollbar of ReprotControl.


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


Posted By: cpede
Date Posted: 10 September 2008 at 7:13am
No scrollbar.
But maybe it has something to do with the way I select the active MDI child window. I'm using a MDI with a CXTPTabClientWnd, and the problem occurs when I want to select a given page in the MDI. I do the following:
 
((CMDIChildWnd*)pPage->GetParent())->MDIActivate();
 
This is probably not the correct way to select a page from the tabbed interface?
 
-cpede


Posted By: Oleg
Date Posted: 10 September 2008 at 9:28am
no, its fine.   
 
Run Spy++ and check if this scrollbar has handle.


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


Posted By: cpede
Date Posted: 10 September 2008 at 9:31am
Already tried that, it is drawn on top of the Report window, after the last OnSize is called.



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