Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - setcapture() captures all the mouse activity for a window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetCapture()           Captures all the mouse activity for a window
--------------------------------------------------------------------------------

   Syntax:              SetCapture( <hWnd> )  --> <hWndPrev>

   Parameters:

   <hWnd>               Identifies the handle of the window to
                        receive all mouse messages.

   Returns:

   <hWndPrev>           The handle of the previous window that
                        was receiving all mouse messages, if defined.
                        It not, it returns 0.

   Observations:        When the window no longer requires all mouse
                        input, the application it should call ReleaseCapture().

   Sample:              SAMPLES\\NewHelp.prg

   Source code:         SOURCE\\WINAPI\\WMouse.c

   See also:            GetCapture() ReleaseCapture()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson