Form.Height in Fullscreen

Discussion in 'Questions (Windows Mobile)' started by berndgoedecke, Jan 24, 2008.

  1. berndgoedecke

    berndgoedecke Active Member Licensed User

    Hello Erel or all the other developers,
    another question: why does the Form.Height property return a value less than 320 respectivly 640 for VGA, if Fullscreen Mode is actvated with the FormLib.dll and even though no Taskbar or Menuebar reduces the Height.

    Best regards
    berndgoedecke
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Form.Height always assume that the task bar and menu bar appear.
    You should use Form.Height + 52 if both are missing.
     
  3. Put Claude

    Put Claude Active Member Licensed User

    Hi Erel,

    I also figured out that +52 thing, I use Form.Height to see if I am in VGA (588 height) or QVGA, this to scale the forms, panels and pictures, with very little code, fetch the snippets from the forum. :)

    Put Claude Belgium
     
Loading...