ReleaseCapture

  BOOL ReleaseCapture(void)    

The ReleaseCapture function releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window with the mouse capture receives all mouse input regardless of the position of the cursor.

Parameters

This function has no parameters.

Return Value

The return value is TRUE if the function is successful. Otherwise, it is FALSE.

Comments

An application calls this function after calling the SetCapture function.

See Also

GetCapture, SetCapture