The GetCapture function retrieves the handle of the window (if any) that has captured the mouse. Only one window at a time can capture the mouse; this window receives mouse input whether or not the cursor is within its borders.
HWND GetCapture(VOID)
This function has no parameters.
The return value is the handle of the capture window associated with the current thread. If no window in the thread has captured the mouse, the return value is NULL.
A NULL return value does not mean no other thread or process in the system has captured the mouse; it just means the current thread has not captured the mouse.
file: /Techref/os/win/api/win32/func/src/f27_13.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/24 11:24,
3.144.109.159:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/api/win32/func/src/f27_13.htm"> GetCapture</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.