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.
Thanks in advance.
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?
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)?
Form1.WindowState := wsMaximized;
If that doesn't help, could you post your source code (stripped from irrelevant bits)?
ASKER
It leaves aprox. 20 pixels blank from the top and aprox 20 pixels from the left, you can see the desktop behind.
ASKER
noop. still the same.
ASKER
noop. still the same.
What version of Delphi and Windows are you using?
Have you disabled the biMaximize Bordericon?
Have you disabled the biMaximize Bordericon?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes, it worked