Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Jan : Maximized MDI childs on Vista fails to realign controls visually
| Subject: | Maximized MDI childs on Vista fails to realign controls visually |
| Posted by: | "Magnus Flysjö" (magn..@flysjo.com) |
| Date: | Wed, 9 Jan 2008 19:34:04 |
I have this strange problem with Windows Vista and wonder if anyone else
have seen it.
When MDI childs are maximized inside the MDI parent, controls (Comboboxes
etc) on the child form fails to render correctly when resizing the MDI
parent. But reading out the positions etc in the OnResize event shows
correct new resized values, but visually the control hasent changed and the
UI looks crap.
If I restore the MDI child to non-maximized state, controls realign
correctly again.
In other words, when resizing the main form (the MDI parent), controls in
MDI child forms fail to render correctly on Vista but same code works just
fine on XP.
When resizing the child form directly when it's in a non-maximized state the
controls also render correctly.
Trying to invalidate or repaint the controls doesnt help..
Really really strange.. Think it's a Vista bug.
Anyone seen this?
/Magnus