//两种方法得到分辨率//int xScrn = GetDeviceCaps(hScrDC, HORZRES); // 获得屏幕分辨率
//int yScrn = GetDeviceCaps(hScrDC, VERTRES);
int xScrn = GetSystemMetrics( SM_CXSCREEN );
int yScrn = GetSystemMetrics( SM_CYSCREEN );
//int yScrn = GetDeviceCaps(hScrDC, VERTRES);
int xScrn = GetSystemMetrics( SM_CXSCREEN );
int yScrn = GetSystemMetrics( SM_CYSCREEN );
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货