Again Desktop size

wolfgang

Member
Licensed User
Longtime User
Hi,
I still have some problems with the desktop size. My screenresolution is 1280x1024 pixels. The height of the fixed taskbar is 30 pixels. If I set: Form1.Width = 1280 and Form1.Height = 994 I'm still missing some pixels at the bottom. To get the best result, I have to substract 4 pixels from the width and add!!! 18pixels to the height. Who can explain this strange thing.
 

wolfgang

Member
Licensed User
Longtime User
Thank you agraham,
enclosed a simple prog which displays the client size of the desktop without any bars.
 

Attachments

  • screen.zip
    1.9 KB · Views: 199
Top