![]() |
AutoHide Drawing Problem |
Post Reply ![]() |
Author | |
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
If you have Splitter in Main frame you must add WS_CLIPCHILDREN|WS_CLIPSIBLINGS to splitter too.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
I don't have a splitter in my main frame. Any other thoughts? - MR |
|
![]() |
|
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() |
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! |
|
![]() |
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 |