Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has started. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam The position of the mouse on the X axis. IParam The position of the mouse on the Y axis. Example List Box: lb1 ... Background Color: White List Initialization Text: Value 1 ... Message Actions On SAM_DragStart ! Store the current selection as window text so we can use it on the drop Call SalListQueryText( hWndItem, SalListQuerySelection( hWndItem ), sList ) Call SalSetWindowText( hWndItem, sList )

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_DragStart

See Also