Link to home
Start Free TrialLog in
Avatar of peter_gx3
peter_gx3

asked on

Miximized window problem

My program is set to load maximized on starup. the problem is that it loads maximized but does'nt cover all the screen. what can I do to fix the problem.

Thanks in advance.
Avatar of binkzz
binkzz

With doesn't cover all the screen, what is still in front of it? The taskbar? Or does it not reach the pixel x pixel size of the display area?
Avatar of peter_gx3

ASKER

It leaves aprox. 20 pixels blank from the top and aprox 20 pixels from the left, you can see the desktop behind.
Try leaving the WindowState default to wsNormal, and add this to your form oncreate:

  Form1.WindowState := wsMaximized;

If that doesn't help, could you post your source code (stripped from irrelevant bits)?
It leaves aprox. 20 pixels blank from the top and aprox 20 pixels from the left, you can see the desktop behind.
noop. still the same.
noop. still the same.
What version of Delphi and Windows are you using?

Have you disabled the biMaximize Bordericon?
ASKER CERTIFIED SOLUTION
Avatar of junior_tim
junior_tim

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
yes, it worked