Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Docking a pane can cover the minimized window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking a pane can cover the minimized window

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 923
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Docking a pane can cover the minimized window
    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.
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 923
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.