Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.48 KB

ReleaseCapture.md

File metadata and controls

48 lines (32 loc) · 1.48 KB

Home

Function name : ReleaseCapture

Group: Mouse Input - Library: user32


Releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window that has captured the mouse receives all mouse input, regardless of the position of the cursor, except when a mouse button is clicked while the cursor hot spot is in the window of another thread.


Code examples:

Creating irregularly shaped FoxPro form using transparency color key
Round FoxPro form
How to drag a Form not using its Titlebar or Caption
Setting the mouse capture to the specified window
How to draw custom Window Caption on FoxPro form
GDI+: Implementing image scrolling with inertia

Declaration:

BOOL ReleaseCapture(VOID);  

FoxPro declaration:

DECLARE INTEGER ReleaseCapture IN user32  

Parameters:

This function has no parameters.


Return value:

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.


Comments:

An application calls this function after calling the SetCapture function.