듀얼 모니터에서 Focused Monitor의 Rect 알아내기 |
|
春31395 Created at 2006-09-28 04:00:09 |
346 0 0 0 |
HMONITOR hMonitor; MONITORINFO mi; RECT rc;
// get the nearest monitor to the passed rect. hMonitor = MonitorFromRect(&wRect, MONITOR_DEFAULTTONEAREST);
// get the work area or entire monitor rect. mi.cbSize = sizeof(mi); GetMonitorInfo(hMonitor, &mi); ... ... |
Tags: MFC WIN32 윈도우즈
|
|
|
로그인을 하시면 댓글을 등록 할 수 있습니다. |