imagelist_dragleave (comctl32)
Last changed: -212.101.23.97

.
Summary
Unlocks the specified window and hides the drag image, allowing the window to be updated.

C# Signature:

/// <summary>
/// Unlocks the specified window and hides the drag image, allowing the window to be updated.
/// </summary>
/// <param name="hwndLock">Handle to the window that owns the drag image.</param>
/// <returns>Returns nonzero if successful, or zero otherwise.</returns>
[DllImport("comctl32.dll", CharSet = CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
internal static extern bool ImageList_DragLeave(IntPtr hwndLock);

VB Signature:

''' <summary>
''' Unlocks the specified window and hides the drag image, allowing the window to be updated.
''' </summary>
''' <param name="hwndLock">Handle to the window that owns the drag image.</param>
''' <returns>Returns nonzero if successful, or zero otherwise.</returns>
<DllImport("comctl32.dll", CharSet := CharSet.Auto)> _
Friend Shared Function ImageList_DragLeave(hwndLock As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
End Function

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation