Print Page | Close Window

Docking a pane can cover the minimized window

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=10335
Printed Date: 13 May 2025 at 1:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking a pane can cover the minimized window
Posted By: rdhd
Subject: Docking a pane can cover the minimized window
Date Posted: 22 April 2008 at 6:26pm
In a MDI application I can minimize a window and the window will collapse to the lower left side of the client area.
 
If I have a floating pane that is docked on the left of the frame and I redock it, the minimized MDI window will have its position changed and it stays at the lower left of the (newly recalculated) client area. I have not found the exact mechanism that causes the window to reposition but at least it does.
 
But if the pane is re-docked at the bottom of the frame, the docking pane covers the minimized window.
 
How do I get around this problem?
 
One can also move the minimized window to the right side of the frame. Again, if a pane is then docked on the right side, it will cover the minimized window.



Replies:
Posted By: rdhd
Date Posted: 13 May 2008 at 8:21am
I solved the problem by sending the WM_MDIICONARRANGE message to the MDI client window. I added this in the frame's Recalclayout method. That way, even if the user resizes a docking pane, the resize does not cover the iconic windows.



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