-
April 17th, 2015, 12:10 AM
#1
MDI Application Client Window
I am developing a MDI application that will contain a RibbonBar and a Properties Pane window. The MDI documents are not tabbed. I am finding that when I try to move the client window around, it gets clipped by the RibbonBar and the Properties Pane window (shown in image). I know the client window cannot go outside the client area, but can the client window be on top of the ribbon bar and the properties pane window?
I am using VStudio 2008.
-
April 17th, 2015, 01:07 AM
#2
Re: MDI Application Client Window
Victor Nijegorodov
-
April 17th, 2015, 06:47 AM
#3
Re: MDI Application Client Window
or in more detail.
No.
Because the MDI document window is not a child of the frame
it's a child of the MDI child window (manager window), which is a parent of the frame.
-
April 18th, 2015, 12:16 AM
#4
Re: MDI Application Client Window
it's a child of the MDI child window (manager window), which is a parent of the frame
I don't understand the part where the MDI child window is the parent of the frame window. Can you explain that?
-
April 18th, 2015, 02:41 AM
#5
Re: MDI Application Client Window
Originally Posted by drax22
Originally Posted by OReubens
No.
Because the MDI document window is not a child of the frame
it's a child of the MDI child window (manager window), which is a parent of the frame.
I don't understand the part where the MDI child window is the parent of the frame window. Can you explain that?
There was I guess a typo.
OReubens seemed to mean:
"MDI document window is not a child of the frame
it's a child of the MDI client window (manager window), which is a parent of any child frame"
See also:
https://msdn.microsoft.com/en-us/lib...e_client_child
Victor Nijegorodov
-
April 18th, 2015, 04:27 AM
#6
Re: MDI Application Client Window
This picture shows who's the child of which parent in a classic MDI application.
-
April 18th, 2015, 10:49 AM
#7
Re: MDI Application Client Window
The MDI main frame may have in its clent area, aside with MDI Client window (of pre-defined window class "MDIClient"), other docked windows: a status bar, a ribbon bar, toolbars etc. The framework resizes the MDI Client window each time is necessary, in order to occupy the remained space. See the below picture in that I've surrounded the MDI Client with a red line.
Now, going back to the OP question: the answer is, as already answered: No.
[ later edit ]
To see the features and the behavior of child windows, have a look at this FAQ: What is a child window?.
Last edited by ovidiucucu; April 18th, 2015 at 10:56 AM.
-
April 18th, 2015, 03:45 PM
#8
Re: MDI Application Client Window
Thanks to Victor for clearing up the typo. Ovidiu, much appreciate your illustrations. Makes it a lot easier to understand.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|