Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SetCapture" in [All]

user32

.
Summary
.

static extern IntPtr SetCapture(IntPtr hWnd);

.
Documentation
[SetCapture] on MSDN

coredll

.

You can use GetCapture in conjunction with SetCapture to obtain the window handle of a Control. See the sample code below.

.

   SetCapture(hOldWnd);

.

static extern IntPtr SetCapture(IntPtr hWnd);

.

Declare Function SetCapture Lib "coredll.dll" (ByVal hWnd As IntPtr) As IntPtr

.

You can use SetCapture in conjunction with GetCapture to obtain the window handle of a Control. See the sample code below.

.

   SetCapture(hOldWnd);

.
Documentation
[SetCapture] on MSDN

aygshell

.

Use this in conjunction with the SetCapture/GetCapture HWND sample:


 
Access PInvoke.net directly from VS: