Part of pane not drawn when sliding open
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=6746
Printed Date: 12 December 2024 at 11:38am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Part of pane not drawn when sliding open
Posted By: MichaelN
Subject: Part of pane not drawn when sliding open
Date Posted: 27 March 2007 at 3:41pm
I am using XTK 10.4.2. I believe I have found a bug in the docking pane when the panes switch when I move the mouse from one tab to another tab on the pane control bar. I am working with panes that open by sliding rightward from the left window border.
This works as expected:
- Create 2 panes for the MainFrame.
- Hover the mouse over the tab for pane 1, and it slides open.
- Move the mouse over the tab for Pane 2. Pane 1 closes and Pane 2 slides open.
- Everything works as expected.
This does not work right:
- Create 2 panes for a ChildFrame.
- Hover the mouse over the tab for Pane 1 and it slides open.
- Move the mouse over the tab for Pane 2. Pane 1 slides closed and Pane 2 opens with an unsaved region on the right edge.
- Move the mouse back to tab for Pane 1 and it opens with its own unsaved border on the right end.
The unsaved border shows a few mm width of the window interior which is not drawn over by the docking pane surface. Here is an example in which the childframe window has a cyan colored background. You can see it right of the diocking pane and also inside the docking pane border:
If I close and open different panes by moving the mouse into the client area of the ChildFrame, rather than by switching tabs, then the docking pane border is drawn correctly. This happens if the panes drop down or move right or any of the 4 directions.
It looks like the background save buffer is not being sized correctly and is related to the size of the currently open pane.
Is there a workaround to fix this?
Michael
|
Replies:
Posted By: Oleg
Date Posted: 28 March 2007 at 1:04am
Hi,
Set WS_CLIPCHILDREN | WS_CLIPSIBLINGS styles for ChildFrame and View.
------------- Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS
|
Posted By: MichaelN
Date Posted: 29 March 2007 at 4:05pm
Thanks Oleg. That worked.
Michael
|
|