<!--[if gte mso 10]>
<mce:style><!
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
-->
<!--[endif]-->
Windows mobile平台下的应用程序经常要考虑到屏幕的大小。最常见的做法就是给不同屏幕大小定制不同的UI布局。但是这样的坏处也是显而易见。
另一个办法就是让程序根据屏幕的大小的变化来调整布局。这些代码是我从网上找到的,然后再做一些修改。先说头文件:
实现文件如下:
在应用程序里做如下处理:
分享到:
相关推荐
jquery移动开发mobile图片移动自适应手机屏幕大小支持上
介绍WindowsMobile应用程序开发的流程。
Windows Mobile应用程序开发 培训基础
Windows Mobile应用程序开发介绍 .Windows Mobile平台 .Windows Mobile开发环境搭建 .Windows Mobile开发技术和资源 .Demo
Windows Mobile开发实验,wince操作系统定制。
MSDN Webcast 创建能在各式设备上运行的Windows Mobile应用程序 Video
Windows Mobile应用程序界面设计指导
MSDN Webcast 创建能在各式设备上运行的Windows Mobile应用程序 Code
开发省电的windows mobile 应用程序 webcast,微软高级讲师讲解
使用加密技术提高Windows Mobile应用程序的安全性.rar使用加密技术提高Windows Mobile应用程序的安全性.rar
WindowsMobile应用程序开发.ppt 很好的培训材料
设计友好的WindowsMobile应用程序
windows mobile 应用程序开发实践 提供了书中的部分代码
主要议程: 屏幕的方位性 分辨率 界面布局 软键和菜单 输入
Windows mobile应用开发流程
本文结合作者自学过程,从一个完全没接触过移动平台开发的新手的角度讲解基于Windows Mobile 5.0平台的GPS应用程序的开发过程.体验使用Visual C#开发移动应用程序的高效率.
MSDN Webcast 创建能在各式设备上运行的Windows Mobile应用程序 PPT
Windows Mobile 开发识别屏幕方向的应用程序
windows mobile 同步程序,本程序为windows xp 专用!