Again Desktop size

Discussion in 'Questions (Windows Mobile)' started by wolfgang, Jan 13, 2008.

  1. wolfgang

    wolfgang Member Licensed 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.
     
  2. agraham

    agraham Expert Licensed User

  3. wolfgang

    wolfgang Member Licensed User

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

    Attached Files:

Loading...