R
Richy
Hi,
I am running at a resolution of 1280 x 1024, but my maximised form
returns a Me.Width of 1440 whereas
System.Windows.Forms.SystemInformation.WorkingArea.Width returns 1280,
which is the correct value, as there is nothing docked to the desktop
on either the left or the right sides. The
System.Windows.Forms.SystemInformation.WorkingArea.Height returns 962,
as I have a toolbar docked at the top, and there is the taskbar at the
bottom. However, Me.Height returns 967 which is more than the working
area height.
Can somebody explain these discrepancies and how can I obtain the
correct figures?
Thanks,
Richy
I am running at a resolution of 1280 x 1024, but my maximised form
returns a Me.Width of 1440 whereas
System.Windows.Forms.SystemInformation.WorkingArea.Width returns 1280,
which is the correct value, as there is nothing docked to the desktop
on either the left or the right sides. The
System.Windows.Forms.SystemInformation.WorkingArea.Height returns 962,
as I have a toolbar docked at the top, and there is the taskbar at the
bottom. However, Me.Height returns 967 which is more than the working
area height.
Can somebody explain these discrepancies and how can I obtain the
correct figures?
Thanks,
Richy