Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problem with Redraws in TabbedView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with Redraws in TabbedView

 Post Reply Post Reply
Author
Message
IRMark View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2006
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote IRMark Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Redraws in TabbedView
    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!

 


Back to Top
IRMark View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2006
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote IRMark Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2006 at 2:12pm
I hate to do this, but bump.

Does anyone have any ideas about this?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
IRMark View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2006
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote IRMark Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Lorne View Drop Down
Newbie
Newbie


Joined: 20 October 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lorne Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.059 seconds.