Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Feb : Bring MDI Window to front
| Subject: | Bring MDI Window to front |
| Posted by: | "Robin" (rob..@.com) |
| Date: | 25 Feb 2005 18:26:54 |
Hi All,
I have a small MDI application with a couple of forms which are created
at start up. However, the user should only ever see one at a time
(current window should be at teh front and maximized).
My question is what is the best way to bring the desired window to the
front? If i use myForm.BringToFront() then it does come to the front,
but its WindowState appears to become wsNormal again instead of
wsMaximized.
I can call myForm.WindowState := Maximized and the form comes to front,
and is maximised, but you can see it redraw and the screen kind of
flickers.
I am guessing that the answer to this is really simple as I don't see
other peoples application doing it.
Your help is very much appreciated.
Robin.