Solved

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

Posted on 2003-12-10
9
243 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
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 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