Print Page | Close Window

Pane drawing error

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=16264
Printed Date: 31 January 2025 at 3:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pane drawing error
Posted By: MichaelN
Subject: Pane drawing error
Date Posted: 24 February 2010 at 11:05am
Suppose a view has more than 1 docking pane. If one pane is open and I move the pointer onto another pane's tab, the open pane closes and the new pane opens with a piece of the view's bitmap along it's right border. This is repeatable every time. I am using Windows 7x64.
 
See the screenshot below. You can see that this is not just a transparent hole in the pane drawing. The pane picked up the view's bitmap and then moved it to the pane's open position.
 
How do I fix it?
 
Michael
 



Replies:
Posted By: MichaelN
Date Posted: 24 February 2010 at 10:41pm
After further study, the width of the invalid region appears to be a constant fraction of the pane width. For example, if I make the pane 4 times wider, the invalid area also is 4 times wider.


Posted By: Oleg
Date Posted: 26 February 2010 at 6:58am
Hi,
 
Add WS_CLIPCHILDREN|WS_CLIPSIBLINGS for your View and Frame.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: MichaelN
Date Posted: 27 February 2010 at 3:23am
That did the trick. Thank you, Oleg!
 
Michael



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net