Solved

Display of minimize, maximize, close buttons of a MDI_child form

Posted on 2003-12-10
9
244 Views
Last Modified: 2010-04-05
I'm having trouble with the minimize, maximise and close buttons of an MDI_child form being split over multiple lines.  I want the three buttons to appear side by side as per normal.  When I have the MDI_child form maximised and the main menu labels of the parent form span far enough that only one or two of the buttons (from the child form) fit on the same line, they are divided across two lines.  Is there any way around this?

eg the buttons are displaying in this configuration
# #
       #
or like this
#
  # #
instead of just
# # #
0
Comment
Question by:pickledsmurf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 8

Expert Comment

by:gmayo
ID: 9918913
Wow, how'd you get that? You are talking about the buttons in the title bar, aren't you?

Geoff M.
0
 
LVL 5

Expert Comment

by:Voodooman
ID: 9919283
Hi

Looks like a Video Driver Problem to me, or perhaps a tool problem.

What does it do on another PC?

Are you using anything to shape the form or using something like a tabbed form control?

Voodooman
0
 

Author Comment

by:pickledsmurf
ID: 9924453
Yeah, I did mean the buttons in the title bar.  Except when the problem occurs the child form doesn't have a titlebar per se it's merged into the MDI form's menu.  Am I making any sense?

It happens when you have the MDI child form maximised within the MDI form that contains it.  The MDI form has a large menu which almost fills the width of the form and doesn't leave enough space for all three buttons.

I can reproduce it by making a dummy app with 2 forms one fsMDIform & one fsMDIChild and just putting a heap of items on the first one, run the app, maximise the child and resize the window until you hit the spot where the buttons go crazy.

It happens on all the PCs that we've used this app on.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:gmayo
ID: 9926766
You're right! I've never seen that before! I would imagine it is a design feature of Windows though, and that you probably can't change it. I tried it on D7Pro and XP Pro.

Geoff M.
0
 
LVL 8

Expert Comment

by:gmayo
ID: 9926767
Doh. D7Pro and NT4 SP6.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 9942582
Or, could be that the Marlett font is missing from his system. WIndows use it for the glyphs
on those buttons.
0
 
LVL 8

Accepted Solution

by:
gmayo earned 125 total points
ID: 9942785
Nope. I got NT4 SP6 and D7 Pro here at work and I get the same effect, ie wrapping min/max/close buttons. Must be a Windows design feature.

Geoff M.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Convert GUI app into console app for Win32 Env 5 137
LAN or WAN ? 11 120
Tembedded WB animatid gifs not animated on some pcs 2 94
IP without any Dots 1 99
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question