网站首页  计算机词典

请输入您要查询的字词:

 

字词 getcapture
释义 GetCapture
语法:
HWND GetCapture(VOID);
Return Value
The return value is a handle to the capture window associated with the current thread. If no window in the thread has captured the mouse, the return value is NULL.
Remarks
A NULL return value means the current thread has not captured the mouse. However, it is possible that another thread or process has captured the mouse.
Windows 98/Me, Windows NT 4.0 SP3 and later: To get a handle to the capture window on another thread, use the GetGUIThreadInfo function.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Mouse Input , GetGUIThreadInfo , ReleaseCapture , SetCapture
GetCapture功能
该GetCapture函数检索窗口句柄(如果有的话)抓住了鼠标。一次只能有一个时间窗口可以捕获鼠标,这个窗口接收鼠标输入是否光标在其境内。
==英文原文==GetCapture Function
The GetCapture function retrieves a handle to the window (if any) that has captured the mouse. Only one window at a time can capture the mouse; this window receives mouse input whether or not the cursor is within its borders.
Syntax
HWND GetCapture(VOID);
Return Value
The return value is a handle to the capture window associated with the current thread. If no window in the thread has captured the mouse, the return value is NULL.
Remarks
A NULL return value means the current thread has not captured the mouse. However, it is possible that another thread or process has captured the mouse.
Windows 98/Me, Windows NT 4.0 SP3 and later: To get a handle to the capture window on another thread, use the GetGUIThreadInfo function.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Mouse Input , GetGUIThreadInfo , ReleaseCapture , SetCapture
==原始网址==http://msdn.microsoft.com/en-us/library/ms646257(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:31:52