GetSystemMetrics (1) 썸네일형 리스트형 모니터 해상도 구하기 1. GetDesktopWindow(), GetWindowRect() - Desktop도 하나의 윈도우이므로, Desktop의 윈도우 핸들을 얻어 창크기를 구하는 방식 CRect rcDesktop; ::GetWindowRect(GetDesktopWindow()->m_hWnd, &rcDesktop); int width = rcDesktop.right - rcDesktop.left; int height = rcDesktop.bottom - rcDesktop.top; RECT rcDesktop; HWND hWndDesktop = RECT rcDesktop; HWND hWndDesktop = GetDesktopWindow(); GetWindowRect(hWndDesktop, &rcDesktop); int wid.. 이전 1 다음