Re: Docking in a CMDIChildWnd
- From: "Finn Arildsen" <noone@xxxxxxxxxxxxx>
- Date: Tue, 30 Sep 2008 19:02:33 +0200
The calls to OnSize are due to the initial positioning of the MDIChildFrame and are quite normal.
I should have mentioned that it is the effect of the call to AdjustDockingLayout that causes the docked outlook bar to be resized to zero width. The call to AdjustDockingLayout also seems to be quite reasonable, since resizing the frame should cause the docking inside the frame to be adjusted to the new size. However, this is entirely within MFC, and I don't have enough insight in the internals of MFC to guess why AdjustDockingLayout "wants" the bars to be zero width. So I would be grateful for advice on how to avoid this effecct. :-)
Finn
"Seetharam" <smisro@xxxxxxxxx> wrote in message news:07fd48f6-704e-4268-936a-38205e5490e4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Try handling the WM_WINDOWPOSCHANGING & WM_WINDOWPOSCHANGED messages
and see who is causing this resize.
-SM
.
- References:
- Docking in a CMDIChildWnd
- From: Finn Arildsen
- Re: Docking in a CMDIChildWnd
- From: Seetharam
- Docking in a CMDIChildWnd
- Prev by Date: Re: Resizable Views
- Next by Date: Re: When Drawing the menu , How to remove the shadow of menu ?
- Previous by thread: Re: Docking in a CMDIChildWnd
- Next by thread: How to show 3 different views in 3 subpanels in right panel by using splitterwnd?
- Index(es):