Share via


Creating Portable Applications

Send Feedback

Applications you develop for the Windows Mobile-based Pocket PC can be ported to the Windows Mobile-based Smartphone. Following are a few guidelines for creating portable applications:

  • Applications designed for Windows Mobile-based Pocket PCs offer a larger display and potentially higher dot pitch than on Windows Mobile-based Smartphones. You should test your application to ensure that it displays correctly within the Smartphone's display dimensions. In addition, differences in bit depth and bit color may cause accessibility issues for users with visual problems or visual color deficiencies. For more information about creating accessible applications, see the documentation under Accessibility in the MSDN library.
  • Smartphones enable users to set the size of the system font size to medium or large. Therefore, you should not hard-code font sizes for an application ported to the Smartphone. Instead, you should derive the font sizes from the system using SHGetUIMetrics. Also, you should test the application to ensure that screen layouts and dialog boxes are not truncated when the user changes the system font size.
  • Smartphones do not support the copy, cut, and paste commands. You should consider automating these tasks for an application ported to the Smartphone.

See Also

User Interface Considerations When Porting | Display Considerations When Porting | Porting Samples and References | User Interface Control Guidelines | Design Guidelines

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.