An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Another possibility is to use WinEvents to receive notifications of drag and drop events. Events for WinEvents are documented at Event Constants and include the following for drag and drop -
Drag and drop events are also supported by UI Automation. For example, see Event Identifiers (UIAutomationClient.h)