@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetCapture API 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")] static extern IntPtr GetCapture(); !!!!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. 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! Documentation: GetCapture@msdn on MSDN
Edit user32.GetCapture
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.