MDI app, but all children maximised with a tab control to select 
Author Message
 MDI app, but all children maximised with a tab control to select

Sorry to keep posting, but this was something I never managed to do with a
previous project, and its going to be needed for the next project on the
cards.

I want to create an MDI application, with multiple CDocTemplates, allowing
the user to have different file types open at once. However, I want a tab
control along the top of the application, just below the toolbar, with each
child on a separate tab. The children are permanently maximised. As the user
selects the tabs, the view for that child appears in the client area.

Tab controls are designed graphically to contain their pages, and indeed
Property Pages go that step further and actually contain dialog templates. I
tried doing it via this route, but the MDI Children and Property pages
didn't get on very well, and it ended up a right mess in the end. I'm sure
there is a simple way to do this, and I'm undoubtedly making it far more
complicated than necessary (when you are always pushing the limits, its
sometimes hard to see the simple solution).

Yours with hope (and yes, I'll probably feel an idiot when you tell me what
I've missed),

Andrew Ratcliffe



Sun, 19 May 2002 03:00:00 GMT  
 MDI app, but all children maximised with a tab control to select
Andrew:

Latest issue of Windows Developers Journal has an article on the same issue.
I read it last week. Author has created a new doctempate whose views are on
a tab control. You may want to look at that at their web site: www.wdj.com.

--
Ajay Kalra

Microsoft Visual C++  MVP

Quote:

>Sorry to keep posting, but this was something I never managed to do with a
>previous project, and its going to be needed for the next project on the
>cards.

>I want to create an MDI application, with multiple CDocTemplates, allowing
>the user to have different file types open at once. However, I want a tab
>control along the top of the application, just below the toolbar, with each
>child on a separate tab. The children are permanently maximised. As the
user
>selects the tabs, the view for that child appears in the client area.

>Tab controls are designed graphically to contain their pages, and indeed
>Property Pages go that step further and actually contain dialog templates.
I
>tried doing it via this route, but the MDI Children and Property pages
>didn't get on very well, and it ended up a right mess in the end. I'm sure
>there is a simple way to do this, and I'm undoubtedly making it far more
>complicated than necessary (when you are always pushing the limits, its
>sometimes hard to see the simple solution).

>Yours with hope (and yes, I'll probably feel an idiot when you tell me what
>I've missed),

>Andrew Ratcliffe




Sun, 19 May 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MDI child window not getting maximised?

2. MDI Children Within a Tab Control

3. How to create an MDI App without an initial MDI Child opening by the framework

4. Opening a new MDI child when no MDI Child exists

5. Opening a new MDI child from a MDI Child

6. How develop MDI application with child forms like VB MDI and Child forms

7. Select Text Using Mouse in MDI Child Window

8. How to open MDI child window when file selected

9. Tabbing in MDI Child Windows

10. TAB key, controls and child windows with controls

11. Normal and maximised MDI

12. Start an MDI App without an open Child Window

 

 
Powered by phpBB® Forum Software