![]() |
Docking a pane can cover the minimized window |
Post Reply ![]() |
Author | |
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 923 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 923 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |