Log in

View Full Version : Windows Mobile 5 programming help


mj8
03-17-2006, 09:39 PM
I am developing forms using C# for PocketPC devices running Windows Mobile 5. The forms and contents of the application look great on the Dell Axim X51 as well as the IPAQ. However, when we put the application on the Treo 7000w I get vertical and horizontal scroll bars which really messes up the flow of the app. Does anyone have any idea how to get rid of the scroll bars?

Guest979
03-21-2006, 04:41 AM
Well, you realize the 700w is only 240x240, right?

If you're intent on supporting the 700w and don't want scroll bars, you will have to create a version of your form that is 240x240. You could make this your only version if it is acceptable for your purposes on other devices, but if you also want to make use of higher resolutions, you will have to check the available screen size (with something like Form1.ClientSize, where Form1 is a reference to the relevant form) and then set your form size (see Form1.Size) and layout accordingly.

Actually, checking the available screen size is a good idea anyway, since you should never assume anything about the size of the current SIP (software input panel).