Desktop Functions: Smart Device Functions:
|
GetCapture (user32)
The GetNextWindow function retrieves a handle to the next or previous window in the Z-Order. The next window is below the specified window; the previous window is above. If the specified window is a topmost window, the function retrieves a handle to the next (or previous) topmost window. If the specified window is a top-level window, the function retrieves a handle to the next (or previous) top-level window. If the specified window is a child window, the function searches for a handle to the next (or previous) child window. 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. 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. C# Signature:
[DllImport("user32.dll")] User-Defined Types:None. Notes: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. None. To get a handle to the capture window on another thread, use the GetGUIThreadInfo function. Tips & Tricks:Please add some! Sample Code:Please add some! Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|