Programming - cpueblo.com

현재 마우스 위치의 윈도우 핸들 얻기 - WindowFromPoint()


글쓴이 : 유광희 날짜 : 2005-08-05 (금) 13:29 조회 : 16465
POINT Point; char ClassName[128]; GetCursorPos(&Point); HWND hWnd = WindowFromPoint(Point); GetClassName(hWnd, (char *)&ClassName, 128); if (*ClassName) OutputDebugString(ClassName);