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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "ReleaseCapture" in [All]

user32

.
Summary
.

static extern bool ReleaseCapture();

.

Private Shared Function ReleaseCapture() As Boolean

.

ReleaseCapture will delegate mousedown events to underlying controls.

.

    Public Shared Function ReleaseCapture() As Boolean

.

        ReleaseCapture()

.

You can use the ReleaseCapture() function to provide drag functionality. for example the following code will allow the user to drag a control around a form (you'll have to assign this code to the mousedown event):

.

public static extern int ReleaseCapture(IntPtr hwnd);

.

   ReleaseCapture(ctrl.Handle);

.
Documentation
[ReleaseCapture] on MSDN

 
Access PInvoke.net directly from VS: