Print Page | Close Window

refrech bug for autohide panes

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=4486
Printed Date: 19 May 2024 at 4:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: refrech bug for autohide panes
Posted By: dmunoz
Subject: refrech bug for autohide panes
Date Posted: 26 June 2006 at 8:59am
Hi,

I have a pane that contain a CXTPPropertyGrid. Some action in the CXTPPropertyGrid change the current view (a CXTHtmlView) and force its refresh.

When the pane is in Hideable mode, there is a refresh bug. If I click the tab to open the pane temporarily and change something, the view is refreshed while the pane is not auto-hidden yet, mangling all the pane display.

Is this a known problem ? How could I avoid that ?



Replies:
Posted By: Oleg
Date Posted: 26 June 2006 at 11:33am
Hi,If you have Sdi application, you have to add WS_CLIPSIBBLINGS|WS_CLIPCHILDREN for MainFrame and View.


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


Posted By: dmunoz
Date Posted: 26 June 2006 at 12:54pm
Thank you for your help Oleg.

I used Toolkit Pro Application Wizard to generate the SDI project, and there is indeed those style added in CMainFrame::PreCreateWindow, but not in the view::PreCreateWindow. Maybe the wizard should have added them too ?

So, adding thoose styles to the view did the trick ! Thanks again.




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