Print Page | Close Window

Auto Hide Question

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=542
Printed Date: 12 December 2024 at 8:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Auto Hide Question
Posted By: msamocha
Subject: Auto Hide Question
Date Posted: 18 March 2004 at 9:01am

I have several panes with different sizes auto hidden to the right.

If I show a large pane and then switch to a smaller pane, the area of the old (larger) auto-hidden pane is not redrawn (so i see a part of the old larger pane which is now supposed to be hidden). This is only fixed when I  redraw the area.

Any one have an idea why this happens or how to rectify the problem?




Replies:
Posted By: msamocha
Date Posted: 18 March 2004 at 10:05am

I tried adding

cs.style |= WS_CLIPCHILDREN|WS_CLIPSIBLINGS; to mainFrame's precreatewindow.

this fixed the problem when there are no open documents, but the proble re-emerges when a document is open.



Posted By: Oleg
Date Posted: 18 March 2004 at 1:45pm

There was little bug in 8.61 version only.

you can patch CXTPDockingPaneAutoHideWnd::CXTPDockingPaneAutoHideWnd:

 pSite->UpdateWindow();
 pSite->SetRedraw(FALSE);

 CreateEx(0, AfxRegisterWndClass(0, hCursor), _T(""),
  WS_CHILD|WS_CLIPSIBLINGS|WS_CLIPCHILDREN, rcClient, pSite, 0);

 pSite->SetRedraw(TRUE);



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



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