AutoHide Drawing Problem
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=2293
Printed Date: 31 May 2025 at 8:23am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: AutoHide Drawing Problem
Posted By: markr
Subject: AutoHide Drawing Problem
Date 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:
uploads/markr/2005-05-29_141419_pane_redraw..zip - 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
|
Replies:
Posted By: Oleg
Date 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
|
Posted By: markr
Date Posted: 30 May 2005 at 4:05pm
Hi Oleg,
I don't have a splitter in my main frame. Any other thoughts?
- MR
|
Posted By: markr
Date 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!
|
|