Language/MFC
MFC Window해상도(MainMoniter)구하기
MAKUBEX
2010. 8. 31. 16:05
CRect 의 변수로 받아온다. 간단하다.
CRect rect;
GetDesktopWindow()->GetWindowRect(rect);
포인트로 받아올 수 도있다.
int x,y;
x = GetSystemMetrics(SM_CXMAXTRACK);
y = GetSystemMetrics(SM_CYMAXTRACK);