首页 > Windows开发 > 详细

旋转wince的桌面的函数

时间:2016-03-08 21:13:54      阅读:203      评论:0      收藏:0      [点我收藏+]
ChangeDisplaySettingsEx ()
 
具体内容请看帮助。
This function changes the settings of the specified display device to the specified graphics mode.
LONG ChangeDisplaySettingsEx( LPCTSTR lpszDeviceName, LPDEVMODE lpDevMode, HWND hwnd, DWORD dwflags, LPVOID lParam );
 
When you change the display mode dynamically, the OS sends theWM_SETTINGCHANGE message to all running applications.
To query for the current orientation, call ChangeDisplaySettingsEx with lpDevMode set to DM_DISPLAYORIENTATION and dwflags set to CDS_TEST. The current orientation will be returned in lpDevMode.
 
关键参数 - dmDisplayOrientation 有以下取值:
    DMDO_0 不旋转 
        DMDO_90 旋转90度 
        DMDO_180 旋转180度   
        DMDO_270 旋转270度

 

旋转wince的桌面的函数

原文:http://www.cnblogs.com/91program/p/5255519.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!