maximize form mobile 5.0

I have a problem maximizing a form correctly.
Everything is coded for a Pocket PC under Windows mobile 5.0.

Actually, my forms are maximized. When I click a button on one form, it opens another one (all in maximized mode). The problem is that when I close the actual form and want to come back to the original one, There is that Windows title bar on top that appears and stay there until I click on my window to get focus.

We have tried several things, such as the window priorities... Still have that title bar on top when I come back to my form.

Could anybody help me clarify that problem.
Thank you


Answer this question

maximize form mobile 5.0

  • juunas

    I'm not sure if I understood your question properly. I assume you have two forms - form1 and form2. In form1, you have a button, clicking on which leads to form2. Both forms are maximized. On closing form2, you get back to form1 but form1 is not maximized. Is that right

    Have you set WindowState = Maximized for both forms


  • alemayehu

    I found a way for my problem... working with registry...

    Hiding the TASKBAR and re-enabling it after my program exits...

    Thanks

    Nicolas


  • maximize form mobile 5.0