WinCE 4.2 CF2 Maximized forms (full screen)

I use the full screen window mode in CF1 by hiding the taskbar and 
maximizing the form with the windowstate = maximized.

In CF2 with the same code the window is maximized but not over the tsakbar,
insted there is a transparent blank space in the place of the taskbar.
If I dont hide the taskbar and I set the taskbar to autohide mode then the 
form is maximized correctly. (over the taskbar)

Does any body know a workaround this problem  (eyalk@dimex.co.il)



Answer this question

WinCE 4.2 CF2 Maximized forms (full screen)

  • Amos Soma

    Try using the following:

    Rectangle formRec = Screen.PrimaryScreen.Bounds;

    frm.Location = formRec.Location;

    frm.Size = formRec.Size;

    grtz



  • WinCE 4.2 CF2 Maximized forms (full screen)