术语 | releasecapture |
释义 | ReleaseCapture 语法: BOOL ReleaseCapture(VOID); Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks An application calls this function after calling the SetCapture function. Windows 95/98/Me: Calling ReleaseCapture causes the window that is losing the mouse capture to receive a WM_CAPTURECHANGED message. Example For an example, see Drawing Lines with the Mouse . Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 3.1 See Also Mouse Input , GetCapture , SetCapture , WM_CAPTURECHANGED ReleaseCapture函数 该ReleaseCapture函数释放鼠标捕获,在当前线程并恢复了正常的鼠标输入处理窗口。一个已经抓住了鼠标的窗口接收所有鼠标输入,无论光标的位置,除非鼠标按钮被点击时光标热点的另一个线程窗口。 ==英文原文==ReleaseCapture Function The ReleaseCapture function 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. Syntax BOOL ReleaseCapture(VOID); Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks An application calls this function after calling the SetCapture function. Windows 95/98/Me: Calling ReleaseCapture causes the window that is losing the mouse capture to receive a WM_CAPTURECHANGED message. Example For an example, see Drawing Lines with the Mouse . Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 3.1 See Also Mouse Input , GetCapture , SetCapture , WM_CAPTURECHANGED ==原始网址==http://msdn.microsoft.com/en-us/library/ms646261(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。