Link to home
Start Free TrialLog in
Avatar of pickledsmurf
pickledsmurf

asked on

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

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
# # #
Avatar of gmayo
gmayo
Flag of United Kingdom of Great Britain and Northern Ireland image

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

Geoff M.
Avatar of Voodooman
Voodooman

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
Avatar of pickledsmurf

ASKER

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.
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.
Doh. D7Pro and NT4 SP6.
Avatar of Eddie Shipman
Or, could be that the Marlett font is missing from his system. WIndows use it for the glyphs
on those buttons.
ASKER CERTIFIED SOLUTION
Avatar of gmayo
gmayo
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial