Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jul : When an MDI Window appears

www.cryer.info
Managed Newsgroup Archive

When an MDI Window appears

Subject:When an MDI Window appears
Posted by:"Tom" (tom.dawson@nospam.com)
Date:Tue, 18 Jul 2006 00:07:03

Hi,

I have a program in which I want to open an MDI window with WindowState
as wsMaximized.

What actually happens is the window opens smaller on the screen and then
quickly maximizes itself. However, it is slow enough to see what is
happening which does not look very neat.

Is there a way of supressing the appearance of the window as a small
size and going straight to the full size.


I have put a watch on the various events that happen on opening an MDI
form and it does the following:

FormShow
FormActivate
FormResize
FormResize
FormPaint  (sometimes)
FormResize
FormPaint

Why all the resizing?


TomD

Replies:

www.cryer.info
Managed Newsgroup Archive