VC多屏显示

检测屏幕个数 int WINAPI GetSystemMetrics( __in  int nIndex) 用于获得被定义的系统数据或者系统配置信息,检测屏幕个数只要设置nIndex为SM_CMONITORS便可 MSDN的解释为:The number of display monitors on a desktop. 示例代码: INT iNumber=GetSystemMetrics(SM_
相关文章
相关标签/搜索