[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SetCapture( hWnd )-> <hWndPrev>
------------------------------------------------------------------------------
PARAMETER:
<hWnd> Is the handle that identifies the window to receive all
mouse messages
RETURNS:
<hWndPrev> is the handle of the window that previously received all
mouse input, or zero, if there is no such window
DESCRIPTION:
SetCapture() sets the mouse capture to the specified window. With the
mouse capture set to a window, all mouse input is directed to that
window, regardless of whether the cursor is over that window.
Only one window can have the mouse capture at a time. When the window
no longer requires all mouse input, the application should call the
ReleaseCapture function, to give other windows a chance.
SOURCE:
SOURCE\WINAPI\WMOUSE.C
See Also:
GetCapture
ReleaseCapture
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson