Visual Basic .NET » Smart Device Application
Design view messed up after smart device platform switch -- MSenne --


Problem:
Started off with a Pocket PC WM 5.0 forms app - design view is OK on Pocket PC.
Switched to Smartphone WM 5.0 - design view is OK on Smartphone.
Switched back to Pocket PC WM 5.0 and the design view shows the shell of a Pocket PC and the visible screen size is of the Pocket PC, but only the 176x220 Smartphone screensize was being used by the form, and the controls were all formatted for Smartphone.

When I debug to the emulator or device the platform selection works fine, but I cannot currently design for the Pocket PC specifically as the layout being displayed is always for the Smartphone.
I have tried restarting Visual Studio after switching back to Pocket PC with no luck.

Can anyone shed some light on this phenomenon?

-- MSenne --


If anyone else comes across the same problem it can be fixed by toggling the WindowState property for the form (on Smart Device projects both Normal and Maximized will force the form to be maximized)
and the form will resize itself to fill the window. Automatically resizing would be a nice feature for VS2005 but it's not a big problem,
just annoying.

[Submit Comment]Home