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

AutoHide Drawing Problem

 Post Reply Post Reply
Author
Message
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Topic: AutoHide Drawing Problem
    Posted: 29 May 2005 at 2:15pm
I have a CXTPFrameWnd with several docking panels surrounding it. Everything seems to work well until I start using the docking panel auto-hide features.

Specifically, if I hide a panel and then view it again (by hovering over it with the mouse), the window behind it (which is a CXTPReportView) "bleeds through". After reading through a number of forum threads, I tried adding WS_CLIPCHILDREN|WS_CLIPSIBLINGS flags to all docking panels (as well as the main view and frame windows), but nothing seems to help.

Here's a screen shot of the problem:
2005-05-29_141419_pane_redraw..zip

The XTP samples obviously don't have this problem, but I'm failing to see the difference between the sample code and mine.

Can anyone point me in the right direction?

- MR

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 29 May 2005 at 11:58pm
If you have Splitter in Main frame you must add WS_CLIPCHILDREN|WS_CLIPSIBLINGS to splitter too.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2005 at 4:05pm
Hi Oleg,

I don't have a splitter in my main frame. Any other thoughts?

- MR

Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2005 at 5:36pm
Ok, I figured it out. Turns out I had applied these styles everywhere except the primary view. Once I added the styles there, everything worked fine.

Thanks for the assistance!

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.094 seconds.