Targeting WM 5.0 VGA?

Hi,

I changed the platform from PocketPC2003 to Windows CE from Project Menu to target VGA's of PocketPC2003 and WM5.0. After changing to WindowsCE it works fine with the same UI PocketPC VGA. but when I target WM5.0 It completely changes the UI. Specially when use Points for the controls through my coding. like

button1.Location = new Point(58, 296);

here again I changed the points according to the screen resolution. I have many forms to change like this to change. Its really painful process. But in PokcetPC VGA it worked fine with out any change. That is y i can same CAB for PocketPC and PocketPCVGA but where as I have to different CABS for Pocket PC and WM5.0VGA. In future to add any other features again I have to add in both places.

Can any one tell me How to use one same code for different resolutions.

Thanks in Advance


Answer this question

Targeting WM 5.0 VGA?

  • Targeting WM 5.0 VGA?