Link to home
Start Free TrialLog in
Avatar of isnoend2001
isnoend2001Flag for United States of America

asked on

form to fill the screen,but not cover the taskbar

I have a form I want to fill the whole screen, but not cover the taskbar.
I realize the taskbar could be on the top, bottom or sides.
How to write this ?
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Have you tried:

MyForm.WindowState = vbMaximized
Avatar of isnoend2001

ASKER

Thanks : GrahamSkan, but that still covers the taskbar,
Which version of Visual Basic are you using? VB6, VB.Net, VBA?
Hmm. It doesn't in my tests- Windows 7 (64) and VB6 (sp6)
vb6(sp6)professional on xp
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

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
Thanks
Guess the benefit of developing on xp has its benefits
You're welcome.
isnoend2001, just out of curiosity, is your form borderless? If it is then that would explain why Graham's suggestion didn't work for you.
No the form is not bordeless, but i plan on making one bordeless to act as a background
for smaller forms. I will post a question for this