API:
int cy = GetSystemMetrics( SM_CYFULLSCREEN );
int cy = GetSystemMetrics( SM_CYSCREEN );
MFC:
int x = ::GetDeviceCaps(hDC,HORZRES); // 宽
int y = ::GetDeviceCaps(hDC,VERTRES); // 高
::ReleaseDC(HWND(NULL),hDC); // 释放DC
转载于:https://www.cnblogs.com/Dennis-mi/articles/3417464.html
444




被折叠的 条评论
为什么被折叠?



