MFC获取窗体在设备上的相关信息,位置,设备信息等
2013-04-27 14:19
351 查看
获取窗口关闭,最大化等按钮的位置信息,获取可见窗体在显示器中的相关信息
发送反馈
Retrieves the specified system metric or system configuration setting.
Note that all dimensions retrieved by GetSystemMetrics are in pixels.
The system metric or configuration setting to be retrieved. This parameter can be one of the following values. Note that all SM_CX* values are widths and all SM_CY* values are heights. Also note that all settings designed to return Boolean data represent
TRUE as any nonzero value, and FALSE as a zero value.
GetSystemMetrics Function |
Retrieves the specified system metric or system configuration setting.
Note that all dimensions retrieved by GetSystemMetrics are in pixels.
Syntax
[code]int WINAPI GetSystemMetrics( __in int nIndex );
int WINAPI GetSystemMetrics( __in int nIndex );
Parameters
nIndex [in]The system metric or configuration setting to be retrieved. This parameter can be one of the following values. Note that all SM_CX* values are widths and all SM_CY* values are heights. Also note that all settings designed to return Boolean data represent
TRUE as any nonzero value, and FALSE as a zero value.
相关文章推荐
- android系统获取系统相关信息(如Android设备的唯一ID等)原理
- iOS获取设备相关信息
- android---获取设备相关信息
- 使用LocationManager来获取移动设备所在的地理位置信息
- MFC获取KeyBoard的事件来移动窗体的位置
- android 获取手机设备相关信息
- UIDevice 获取设备相关信息备忘
- iOS 获取当前设备具体型号(当前支持到iPhone7/iPhone7P )、系统版本、电量、序列号、设备名称、应用相关信息获取等
- 根据mac地址+deviceid获取设备唯一编码 获取手机及SIM卡相关信息
- 通过陀螺仪获取设备位置信息
- 获取设备相关信息
- Exchange 2010 PS之获取移动设备相关信息!
- android系统获取系统相关信息(如Android设备的唯一ID等)(源码)
- 获取设备相关信息工具包
- Cordova各个插件使用介绍系列(六)—$cordovaDevice获取设备的相关信息
- Android下使用TelephonyManager类获取设备电话相关信息
- 前端的小玩意(13)——获取DOM的位置相关信息
- iOS获得设备相关信息,获取app相关信息
- iOS 获取本地设备相关信息,如:IP地址
- C#:获取设备电量相关信息