Desktop Functions: Smart Device Functions:
|
C# Signature:
[DllImport("user32.dll")] VB.NET Signature:
<DllImport("user32.dll")> _ User-Defined Types:None. Notes:None. ReleaseCapture will delegate mousedown events to underlying controls. Tips & Tricks:Please add some! Sample Code: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):
[DllImport("User32.dll")] Alternative Managed API:Capture property on System.Windows.Forms.Control 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).
|
|