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/23 09:31,
18.191.212.146: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://sxlist.com/techref/os/win/api/win32/func/src/f27_13.htm"> GetCapture</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.