Print Page | Close Window

Problem with Redraws in TabbedView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5270
Printed Date: 11 November 2025 at 4:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with Redraws in TabbedView
Posted By: IRMark
Subject: Problem with Redraws in TabbedView
Date Posted: 11 October 2006 at 2:44pm

Hi Everyone,

I'm using the XtreemToolkit Pro 10.3.1 for a project and we are using tabbed views in it based off of the XTP sample: "Samples\ToolkitPro\TabbedView"

The problem we are having is that the design environment is not always redrawing properly for people working with the program.  It seems as though when other windows are moved over top of the application the controls on the tab views do not always update properly.

I wanted to see if it was something wrong in my program or the XTP implementation so I sent the sample application over to one of our users to see if they could also get it to happen there.  There were able to get it to happen by "by moving the folder window diagonally back and forth across the sample app window."

I have attached an image of what the problem looks like, has anyone else experienced this?  Any ideas/workarounds?

Thanks!

 





Replies:
Posted By: IRMark
Date Posted: 17 October 2006 at 2:12pm
I hate to do this, but bump.

Does anyone have any ideas about this?


Posted By: Oleg
Date Posted: 18 October 2006 at 12:47am
Hello,
 
I just can't reproduce it. :( :( :(
 
Did you make this screenshot or your user?


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


Posted By: IRMark
Date Posted: 19 October 2006 at 9:21am

Hi Oleg,

I cannot replicate it myself, the screen shot and description of the problem were sent by one of our users.

But if I move a Windows Explorer window diagonally across the window I can see that the redraw happens rather slowly, but for me when I try to replicate this problem the draw eventually "snaps" back and all of the controls are visible.

So for me the redraw is only a bit choppy but it never gets stuck as it does for my user.



Posted By: Oleg
Date Posted: 20 October 2006 at 12:46am
Hello,
It is something with his pc/OS.
On this Dialog located standard Controls. I don' think problem in our TabControl


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


Posted By: Lorne
Date Posted: 20 October 2006 at 4:05pm
I've been able to reproduce it on two systems here.

Here are the steps I used to reproduce it:

1. Open TabbedView.exe

2. Click on the Properties tab

3. Maximize the "Tabbed1 - Properties" window

4. Set Appearance to xtpTabAppearancePropertyPage

5. Set Color Set to xtpTabColorWinXP

6. Resize the TabbedView sample app window a bit smaller

7. Position it above a few other windows in the Z order (this seems to make the bug more reproducible, I have trouble making it happen if the sample app is directly above the desktop). It might help if it's positioned over a slow drawing surface, like Visual Studio, but that isn't necessary.

8. Open a folder window, size it to about a quarter of the screen size, and drag it over the sample app. Drag it in a somewhat circular pattern, moving it very quickly, from bottom right (off the sample app window), over the controls, then off, repeating that quickly. The idea is to partially cover the controls and then uncover them quickly. On one system here it took a while to reproduce, on another it happens quite quickly. There is some visible redraw "lag" effects on both systems (slow repaint when moving the folder quickly).

Both systems are running Windows XP SP2, with Luna enabled. One is a relatively standard Dell system. The other has a 2.8 GHz P4 + nVidia Quadro FX 500.



Posted By: Oleg
Date Posted: 23 October 2006 at 9:25am
Hello,
 
I had it once. :(  But I don't think our CXTPTabControl is reason - it used only standard methods for drawing - all drawing in OnPaint no hacks at all.
It is Something inside OS - problem in redrawing sibling controls in page of tabcontrol.


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



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